OLD | NEW |
1 <!-- Based on fast/repaint/clipped-overflow-visible-subtree.html --> | 1 <!-- Based on fast/repaint/clipped-overflow-visible-subtree.html --> |
2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
3 <script src="resources/paint-invalidation-test.js"></script> | 3 <script src="resources/paint-invalidation-test.js"></script> |
4 <script> | 4 <script> |
5 window.expectedPaintInvalidationObjects = [ | |
6 "LayoutBlockFlow (floating) DIV id='node'", | |
7 "LayoutBlockFlow (floating) DIV", | |
8 "LayoutBlockFlow (floating) DIV", | |
9 "LayoutBlockFlow DIV", | |
10 "LayoutBlockFlow DIV", | |
11 ]; | |
12 function paintInvalidationTest() | 5 function paintInvalidationTest() |
13 { | 6 { |
14 document.getElementById('node').remove(); | 7 document.getElementById('node').remove(); |
15 } | 8 } |
16 onload = runPaintInvalidationTest; | 9 onload = runPaintInvalidationTest; |
17 </script> | 10 </script> |
18 | 11 |
19 <div style="visibility: hidden; opacity: 0.9; width: 600px;"> | 12 <div style="visibility: hidden; opacity: 0.9; width: 600px;"> |
20 <div style="float:right"> | 13 <div style="float:right"> |
21 <div style="float:left; width: 300px"> | 14 <div style="float:left; width: 300px"> |
22 <div> | 15 <div> |
23 <div style="opacity: 0.9; visibility: visible; background-color: green; wi
dth: 100px; height: 100px;"> </div> | 16 <div style="opacity: 0.9; visibility: visible; background-color: green; wi
dth: 100px; height: 100px;"> </div> |
24 </div> | 17 </div> |
25 </div> | 18 </div> |
26 | 19 |
27 <div id='node' style="float:left; width: 300px;"> </div> | 20 <div id='node' style="float:left; width: 300px;"> </div> |
28 </div> | 21 </div> |
29 </div> | 22 </div> |
OLD | NEW |