OLD | NEW |
1 <!-- Based on fast/repaint/view-background-from-body-2.html --> | 1 <!-- Based on fast/repaint/view-background-from-body-2.html --> |
2 <head> | 2 <head> |
3 <!-- The entire viewport should be solid blue, with no white margin. --> | 3 <!-- The entire viewport should be solid blue, with no white margin. --> |
4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | 4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> |
5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
6 window.expectedPaintInvalidationObjects = [ | |
7 "LayoutView #document", | |
8 "LayoutBlockFlow BODY", | |
9 ]; | |
10 function paintInvalidationTest() | 6 function paintInvalidationTest() |
11 { | 7 { |
12 document.body.style.removeProperty("display"); | 8 document.body.style.removeProperty("display"); |
13 } | 9 } |
14 </script> | 10 </script> |
15 </head> | 11 </head> |
16 <body onload="runPaintInvalidationTest();" style="margin: 50px; background-color
: blue; display: none;"> | 12 <body onload="runPaintInvalidationTest();" style="margin: 50px; background-color
: blue; display: none;"> |
17 </body> | 13 </body> |
OLD | NEW |