OLD | NEW |
(Empty) | |
| 1 <!-- Based on fast/repaint/multicol-repaint.html --> |
| 2 <!DOCTYPE html> |
| 3 |
| 4 <html lang="en"> |
| 5 <head> |
| 6 <style type="text/css" media="screen"> |
| 7 |
| 8 .container { |
| 9 width: 400px; |
| 10 height: 100px; |
| 11 border: 1px solid black; |
| 12 font-size: 50px; |
| 13 -webkit-column-count: 2; |
| 14 column-count: 2; |
| 15 column-fill: auto; |
| 16 } |
| 17 |
| 18 </style> |
| 19 <script src="resources/paint-invalidation-test.js" type="text/javascript"></sc
ript> |
| 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() |
| 32 { |
| 33 document.getElementById('a').innerHTML = 'XXXXXX'; |
| 34 } |
| 35 </script> |
| 36 </head> |
| 37 <body onload="runPaintInvalidationTest();"> |
| 38 |
| 39 <div class="container"> |
| 40 <br> |
| 41 <span id="a">x</span> |
| 42 </div> |
| 43 </body> |
| 44 </html> |
OLD | NEW |