block-shift-repaint-expected.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <html>
  2. <head>
  3. <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title>
  4. <style type="text/css">
  5. div.playground { position: relative; width: 90px; height: 90px; }
  6. .red { background-color: yellow; }
  7. .blue { background-color: blue; }
  8. .green { background-color: green; }
  9. .zero { height: 0; width: 60px; }
  10. .half { height: 30px; width: 60px; }
  11. .full { height: 60px; width: 60px; }
  12. </style>
  13. </head>
  14. <body>
  15. <div class="playground">
  16. <div id="div1" class="blue zero"></div>
  17. <div class="red half"></div>
  18. <div class="green half"></div>
  19. </div>
  20. <div class="playground">
  21. <div><div id="top" class="blue zero"></div></div>
  22. <div class="red half"></div>
  23. <div class="green half"></div>
  24. </div>
  25. <div class="playground">
  26. <div id="div2" class="half"></div>
  27. <div class="green half"></div>
  28. <div class="red half"></div>
  29. </div>
  30. <div class="playground" style="margin-top: 30px;">
  31. <div style="width: 10px; margin: auto;">
  32. <div id="innerDiv" style="height: 15px"></div>
  33. </div>
  34. <div class="half"></div>
  35. <div class="half" style="border-top: solid yellow 8px;"></div>
  36. </div>
  37. </body>
  38. </html>