OLD | NEW |
1 <!-- Based on fast/repaint/multicol-with-abspos.html --> | 1 <!-- Based on fast/repaint/multicol-with-abspos.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 (positioned) 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 <p>A green PASS should be seen at the bottom-left corner.</p> | 11 <p>A green PASS should be seen at the bottom-left corner.</p> |
17 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:40px; color:green;"> | 12 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width:
630px; height:40px; color:green;"> |
18 <br> | 13 <br> |
19 <br> | 14 <br> |
20 <br> | 15 <br> |
21 <br> | 16 <br> |
22 <br> | 17 <br> |
23 <br> | 18 <br> |
24 <!-- This absolutely positioned box is not part of the flow thread, since th
e nearest | 19 <!-- This absolutely positioned box is not part of the flow thread, since th
e nearest |
25 non-statically positioned box is further up than that. --> | 20 non-statically positioned box is further up than that. --> |
26 <div id="target" style="position:absolute; left:0; bottom:0; visibility:hidd
en;">PASS</div> | 21 <div id="target" style="position:absolute; left:0; bottom:0; visibility:hidd
en;">PASS</div> |
27 </div> | 22 </div> |
OLD | NEW |