OLD | NEW |
(Empty) | |
| 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> |
| 3 <script> |
| 4 window.expectedPaintInvalidationObjects = [ |
| 5 "LayoutBlockFlow DIV id='target'", |
| 6 "LayoutBlockFlow (floating) DIV", |
| 7 ]; |
| 8 function paintInvalidationTest() |
| 9 { |
| 10 document.getElementById("target").style.removeProperty("display"); |
| 11 } |
| 12 </script> |
| 13 <body onload="runPaintInvalidationTest()"> |
| 14 <div style="height: 100px;"></div> |
| 15 <div id="target" style="display: none"> |
| 16 <div style="float: left; width: 100px; height: 100px; background-color:
green;"></div> |
| 17 </div> |
| 18 </body> |
OLD | NEW |