OLD | NEW |
| (Empty) |
1 <!-- Based on fast/repaint/inline-block-resize.html --> | |
2 <html> | |
3 <head> | |
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title> | |
5 <style type="text/css"> | |
6 | |
7 </style> | |
8 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | |
9 <script> | |
10 function paintInvalidationTest() | |
11 { | |
12 document.getElementById('target').style.width = '100px'; | |
13 document.getElementById('target').style.height = '100px'; | |
14 document.getElementById('target').style.marginTop = '-100px'; | |
15 } | |
16 </script> | |
17 </head> | |
18 <body onload="runPaintInvalidationTest();"> | |
19 <div style="position:absolute; height:100px; width:100px;background-color:re
d"></div> | |
20 <div style="padding-top:100px"></div> | |
21 <div style="position:absolute"><div id="target" style="display:inline-block;
background-color:green"></div></div> | |
22 </div> | |
23 </body> | |
24 </html> | |
OLD | NEW |