OLD | NEW |
1 <!-- Based on fast/repaint/multicol-with-text.html --> | 1 <!-- Based on fast/repaint/multicol-with-text.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 "RootInlineBox", | |
8 "RootInlineBox", | |
9 "RootInlineBox", | |
10 "InlineTextBox '\n'", | |
11 "InlineTextBox '\n'", | |
12 "InlineTextBox '\n'", | |
13 "LayoutMultiColumnFlowThread (anonymous)", | |
14 "LayoutText #text", | |
15 "InlineTextBox 'PASS'", | |
16 ]; | |
17 function paintInvalidationTest() { | 6 function paintInvalidationTest() { |
18 var mc = document.getElementById('mc'); | 7 var mc = document.getElementById('mc'); |
19 mc.appendChild(document.createTextNode('PASS')); | 8 mc.appendChild(document.createTextNode('PASS')); |
20 } | 9 } |
21 </script> | 10 </script> |
22 <div id="mc" style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto
; width:630px; height:20px; color:green;"> | 11 <div id="mc" style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto
; width:630px; height:20px; color:green;"> |
23 <br> | 12 <br> |
24 <br> | 13 <br> |
25 <br> | 14 <br> |
26 </div> | 15 </div> |
27 <p>A green PASS should be seen above.</p> | 16 <p>A green PASS should be seen above.</p> |
OLD | NEW |