OLD | NEW |
1 <!-- Based on fast/repaint/float-in-new-block-with-layout-delta.html --> | 1 <!-- Based on fast/repaint/float-in-new-block-with-layout-delta.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 id='target'", | |
6 "LayoutBlockFlow (floating) DIV", | |
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: 100px;"></div> | 10 <div style="height: 100px;"></div> |
15 <div id="target" style="display: none"> | 11 <div id="target" style="display: none"> |
16 <div style="float: left; width: 100px; height: 100px; background-color:
green;"></div> | 12 <div style="float: left; width: 100px; height: 100px; background-color:
green;"></div> |
17 </div> | 13 </div> |
18 </body> | 14 </body> |
OLD | NEW |