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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/hide-box-horizontal-bt.html

Issue 341103002: [New Multicolumn] Remove unnecessary calls to setRegionBasedColumnsEnabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>hiding a box covering a multicol, horizontal-bt</title> 4 <title>hiding a box covering a multicol, horizontal-bt</title>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 if (window.internals)
9 internals.settings.setRegionBasedColumnsEnabled(true);
10 function scheduleHide() { 8 function scheduleHide() {
11 document.body.offsetLeft; 9 document.body.offsetLeft;
12 setTimeout("hideIt()", 100); 10 setTimeout("hideIt()", 100);
13 } 11 }
14 function hideIt() { 12 function hideIt() {
15 document.getElementById('hider').style.visibility = 'hidden'; 13 document.getElementById('hider').style.visibility = 'hidden';
16 document.body.offsetLeft; 14 document.body.offsetLeft;
17 if (window.testRunner) 15 if (window.testRunner)
18 testRunner.notifyDone(); 16 testRunner.notifyDone();
19 } 17 }
20 </script> 18 </script>
21 </head> 19 </head>
22 <body onload="scheduleHide()"> 20 <body onload="scheduleHide()">
23 <p>The word PASS should be seen below.</p> 21 <p>The word PASS should be seen below.</p>
24 <div style="position:relative; background:lime;"> 22 <div style="position:relative; background:lime;">
25 <div id="hider" style="position:absolute; z-index:1; left:5.1em; bot tom:2em; width:3em; height:3em; background:red;"></div> 23 <div id="hider" style="position:absolute; z-index:1; left:5.1em; bot tom:2em; width:3em; height:3em; background:red;"></div>
26 <div style="position:absolute; z-index:1; left:0; right:0; top:0; he ight:6em; background:white;"></div> <!-- make it fail if writing-mode isn't supp orted --> 24 <div style="position:absolute; z-index:1; left:0; right:0; top:0; he ight:6em; background:white;"></div> <!-- make it fail if writing-mode isn't supp orted -->
27 <div style="width:20em; height:20em; -webkit-writing-mode:horizontal -bt;"> 25 <div style="width:20em; height:20em; -webkit-writing-mode:horizontal -bt;">
28 <div style="-webkit-columns:4; -webkit-column-gap:0; columns:4; column-fill:auto; column-gap:0; orphans:1; widows:1; height:6em; line-height:2em ; background:cyan;"> 26 <div style="-webkit-columns:4; -webkit-column-gap:0; columns:4; column-fill:auto; column-gap:0; orphans:1; widows:1; height:6em; line-height:2em ; background:cyan;">
29 <br> 27 <br>
30 <br> 28 <br>
31 <br> 29 <br>
32 <br> 30 <br>
33 <div style="position:relative;">&nbsp;PASS</div> 31 <div style="position:relative;">&nbsp;PASS</div>
34 </div> 32 </div>
35 </div> 33 </div>
36 </div> 34 </div>
37 </body> 35 </body>
38 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698