OLD | NEW |
1 <!-- Based on fast/repaint/background-generated.html --> | 1 <!-- Based on fast/repaint/background-generated.html --> |
2 <!DOCTYPE HTML> | 2 <!DOCTYPE HTML> |
3 <head> | 3 <head> |
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 "LayoutBlockFlow DIV", | |
8 "LayoutBlockFlow DIV id='target'", | |
9 ]; | |
10 function paintInvalidationTest() | 6 function paintInvalidationTest() |
11 { | 7 { |
12 document.getElementById("target").style.height = "200px"; | 8 document.getElementById("target").style.height = "200px"; |
13 } | 9 } |
14 </script> | 10 </script> |
15 </head> | 11 </head> |
16 <body onload="runPaintInvalidationTest();"> | 12 <body onload="runPaintInvalidationTest();"> |
17 <div style="width: 100px; | 13 <div style="width: 100px; |
18 padding-top: 100px; | 14 padding-top: 100px; |
19 background-image: -webkit-gradient(linear, left top, left bottom
, from(red), to(blue)); | 15 background-image: -webkit-gradient(linear, left top, left bottom
, from(red), to(blue)); |
20 "> | 16 "> |
21 <div id="target" style="height: 100px;"></div> | 17 <div id="target" style="height: 100px;"></div> |
22 </div> | 18 </div> |
23 </body> | 19 </body> |
OLD | NEW |