OLD | NEW |
1 <!-- Based on fast/repaint/multicol-with-block.html --> | 1 <!-- Based on fast/repaint/multicol-with-block.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 onload = runPaintInvalidationTest; | 5 onload = runPaintInvalidationTest; |
6 window.expectedPaintInvalidationObjects = [ | |
7 "LayoutBlockFlow DIV id='target'", | |
8 "LayoutText #text", | |
9 "InlineTextBox 'PASS'", | |
10 ]; | |
11 function paintInvalidationTest() { | 6 function paintInvalidationTest() { |
12 var target = document.getElementById('target'); | 7 var target = document.getElementById('target'); |
13 target.style.visibility = 'visible'; | 8 target.style.visibility = 'visible'; |
14 } | 9 } |
15 </script> | 10 </script> |
16 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:20px; color:green;"> | 11 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:20px; color:green;"> |
17 <br> | 12 <br> |
18 <br> | 13 <br> |
19 <br> | 14 <br> |
20 <div id="target" style="visibility:hidden;">PASS</div> | 15 <div id="target" style="visibility:hidden;">PASS</div> |
21 </div> | 16 </div> |
22 <p>A green PASS should be seen above.</p> | 17 <p>A green PASS should be seen above.</p> |
OLD | NEW |