Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html

Issue 1028383002: Enable new multicol for testing and experimental web platform features. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Need to mark virtual/slimmingpaint/svg/text/columns-do-not-apply.html as failing too. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 if (window.internals) { 4 if (window.internals)
5 internals.settings.setRegionBasedColumnsEnabled(true);
6 onload = runRepaintTest; 5 onload = runRepaintTest;
7 } else { 6 else
8 onclick = repaintTest; 7 onclick = repaintTest;
9 }
10 function repaintTest() { 8 function repaintTest() {
11 document.getElementById('elm').style.background = 'green'; 9 document.getElementById('elm').style.background = 'green';
12 } 10 }
13 </script> 11 </script>
14 <div id="container" style="overflow:-webkit-paged-x; -webkit-column-gap:0; width :500px; height:500px; -webkit-writing-mode:vertical-rl;"> 12 <div id="container" style="overflow:-webkit-paged-x; -webkit-column-gap:0; width :500px; height:500px; -webkit-writing-mode:vertical-rl;">
15 <div style="width:100px;"> 13 <div style="width:100px;">
16 <div id="elm" style="width:1000px; background:yellow;"></div> 14 <div id="elm" style="width:1000px; background:yellow;"></div>
17 </div> 15 </div>
18 </div> 16 </div>
19 <script> 17 <script>
20 document.getElementById("container").scrollLeft = 0; 18 document.getElementById("container").scrollLeft = 0;
21 </script> 19 </script>
22 <p>Test changing the background color of a big block that overflows the flow thr ead.</p> 20 <p>Test changing the background color of a big block that overflows the flow thr ead.</p>
23 <p>A green square with a horizontal scrollbar should be seen above (if tested ma nually, you need to click first).</p> 21 <p>A green square with a horizontal scrollbar should be seen above (if tested ma nually, you need to click first).</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698