| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/erase-overflow.html --> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=11935</title> | |
| 5 <style type="text/css"> | |
| 6 div.square { width: 100px; height: 100px; } | |
| 7 </style> | |
| 8 <script type="text/javascript" src="resources/paint-invalidation-test.js"></
script> | |
| 9 <script type="text/javascript"> | |
| 10 function paintInvalidationTest() | |
| 11 { | |
| 12 document.getElementById("target").style.overflow = "hidden"; | |
| 13 } | |
| 14 </script> | |
| 15 </head> | |
| 16 <body onload="runPaintInvalidationTest()"> | |
| 17 <div id="target" class="square"> | |
| 18 <div class="square" style="background-color: green"></div> | |
| 19 <div class="square" style="background-color: red"></div> | |
| 20 </div> | |
| 21 </body> | |
| 22 </html> | |
| OLD | NEW |