OLD | NEW |
1 <!-- Based on fast/repaint/paged-with-overflowing-block-rl.html --> | 1 <!-- Based on fast/repaint/paged-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="overflow:-webkit-paged-x; -webkit-column-gap:0; width
:500px; height:500px; -webkit-writing-mode:vertical-rl;"> | 10 <div id="container" style="overflow:-webkit-paged-x; -webkit-column-gap:0; 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:1000px; background:yellow;"></div> | 12 <div id="elm" style="width:1000px; background:yellow;"></div> |
16 </div> | 13 </div> |
17 </div> | 14 </div> |
18 <script> | 15 <script> |
19 document.getElementById("container").scrollLeft = 0; | 16 document.getElementById("container").scrollLeft = 0; |
20 </script> | 17 </script> |
21 <p>Test changing the background color of a big block that overflows the flow thr
ead.</p> | 18 <p>Test changing the background color of a big block that overflows the flow thr
ead.</p> |
22 <p>A green square with a horizontal scrollbar should be seen above.</p> | 19 <p>A green square with a horizontal scrollbar should be seen above.</p> |
OLD | NEW |