OLD | NEW |
1 <!-- Based on fast/repaint/multicol-repaint.html --> | 1 <!-- Based on fast/repaint/multicol-repaint.html --> |
2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
3 | 3 |
4 <html lang="en"> | 4 <html lang="en"> |
5 <head> | 5 <head> |
6 <style type="text/css" media="screen"> | 6 <style type="text/css" media="screen"> |
7 | 7 |
8 .container { | 8 .container { |
9 width: 400px; | 9 width: 400px; |
10 height: 100px; | 10 height: 100px; |
11 border: 1px solid black; | 11 border: 1px solid black; |
12 font-size: 50px; | 12 font-size: 50px; |
13 -webkit-column-count: 2; | 13 -webkit-column-count: 2; |
14 column-count: 2; | 14 column-count: 2; |
15 column-fill: auto; | 15 column-fill: auto; |
16 } | 16 } |
17 | 17 |
18 </style> | 18 </style> |
19 <script src="resources/paint-invalidation-test.js" type="text/javascript"></sc
ript> | 19 <script src="resources/paint-invalidation-test.js" type="text/javascript"></sc
ript> |
20 <script type="text/javascript"> | 20 <script type="text/javascript"> |
21 window.expectedPaintInvalidationObjects = [ | |
22 "RootInlineBox", | |
23 "RootInlineBox", | |
24 "InlineTextBox '\u00A0'", | |
25 "InlineTextBox '\n'", | |
26 "InlineTextBox ''", | |
27 "LayoutMultiColumnFlowThread (anonymous)", | |
28 "LayoutText #text", | |
29 "InlineTextBox 'XXXXXX'", | |
30 ]; | |
31 function paintInvalidationTest() | 21 function paintInvalidationTest() |
32 { | 22 { |
33 document.getElementById('a').innerHTML = 'XXXXXX'; | 23 document.getElementById('a').innerHTML = 'XXXXXX'; |
34 } | 24 } |
35 </script> | 25 </script> |
36 </head> | 26 </head> |
37 <body onload="runPaintInvalidationTest();"> | 27 <body onload="runPaintInvalidationTest();"> |
38 | 28 |
39 <div class="container"> | 29 <div class="container"> |
40 <br> | 30 <br> |
41 <span id="a">x</span> | 31 <span id="a">x</span> |
42 </div> | 32 </div> |
43 </body> | 33 </body> |
44 </html> | 34 </html> |
OLD | NEW |