OLD | NEW |
1 <!-- Based on fast/repaint/float-new-in-block.html --> | 1 <!-- Based on fast/repaint/float-new-in-block.html --> |
2 <script src="resources/paint-invalidation-test.js" type="text/javascript" charse
t="utf-8"></script> | 2 <script src="resources/paint-invalidation-test.js" type="text/javascript" charse
t="utf-8"></script> |
3 <script> | 3 <script> |
4 window.expectedPaintInvalidationObjects = [ | |
5 "LayoutBlockFlow DIV", | |
6 "LayoutBlockFlow (floating) DIV id='target'", | |
7 ]; | |
8 function paintInvalidationTest() | 4 function paintInvalidationTest() |
9 { | 5 { |
10 document.getElementById("target").style.removeProperty("display"); | 6 document.getElementById("target").style.removeProperty("display"); |
11 } | 7 } |
12 </script> | 8 </script> |
13 <body onload="runPaintInvalidationTest()"> | 9 <body onload="runPaintInvalidationTest()"> |
14 <div style="height: 20px; background-color: lightblue;"> | 10 <div style="height: 20px; background-color: lightblue;"> |
15 <div id="target" style="display: none; float: left; width: 100px; height
: 100px; background-color: green;"></div> | 11 <div id="target" style="display: none; float: left; width: 100px; height
: 100px; background-color: green;"></div> |
16 </div> | 12 </div> |
17 </body> | 13 </body> |
OLD | NEW |