OLD | NEW |
1 <!-- Based on fast/repaint/multicol-with-overflowing-block-rl.html --> | 1 <!-- Based on fast/repaint/multicol-with-overflowing-block-rl.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='elm'", | |
8 ]; | |
9 function paintInvalidationTest() { | 6 function paintInvalidationTest() { |
10 document.getElementById('elm').style.background = 'green'; | 7 document.getElementById('elm').style.background = 'green'; |
11 } | 8 } |
12 </script> | 9 </script> |
13 <div id="container" style="-webkit-columns:3; -webkit-column-gap:0; column-fill:
auto; width:500px; height:500px; -webkit-writing-mode:vertical-rl;"> | 10 <div id="container" style="-webkit-columns:3; -webkit-column-gap:0; column-fill:
auto; width:500px; height:500px; -webkit-writing-mode:vertical-rl;"> |
14 <div style="width:100px;"> | 11 <div style="width:100px;"> |
15 <div id="elm" style="width:1500px; background:yellow;"></div> | 12 <div id="elm" style="width:1500px; background:yellow;"></div> |
16 </div> | 13 </div> |
17 </div> | 14 </div> |
18 <p>Test changing the background color of a big block that overflows the flow thr
ead.</p> | 15 <p>Test changing the background color of a big block that overflows the flow thr
ead.</p> |
19 <p>A green square should be seen above.</p> | 16 <p>A green square should be seen above.</p> |
OLD | NEW |