OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>hiding a box covering a multicol, vertical-lr</title> | 4 <title>hiding a box covering a multicol, vertical-lr</title> |
5 <script> | 5 <script> |
6 if (window.testRunner) | 6 if (window.testRunner) |
7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
8 if (window.internals) | 8 if (window.internals) |
9 internals.settings.setRegionBasedColumnsEnabled(true); | 9 internals.settings.setRegionBasedColumnsEnabled(true); |
10 function scheduleHide() { | 10 function scheduleHide() { |
11 document.body.offsetLeft; | 11 document.body.offsetLeft; |
12 setTimeout("hideIt()", 100); | 12 setTimeout("hideIt()", 100); |
13 } | 13 } |
14 function hideIt() { | 14 function hideIt() { |
15 document.getElementById('hider').style.visibility = 'hidden'; | 15 document.getElementById('hider').style.visibility = 'hidden'; |
16 document.body.offsetLeft; | 16 document.body.offsetLeft; |
17 if (window.testRunner) | 17 if (window.testRunner) |
18 testRunner.notifyDone(); | 18 testRunner.notifyDone(); |
19 } | 19 } |
20 </script> | 20 </script> |
21 </head> | 21 </head> |
22 <body onload="scheduleHide()" style="color:black; background:white;"> | 22 <body onload="scheduleHide()" style="color:black; background:white;"> |
23 <p>The word PASS should be seen below.</p> | 23 <p>The word PASS should be seen below.</p> |
24 <div style="position:relative; width:30em; background:black;"> | 24 <div style="position:relative; width:30em; background:black;"> |
25 <div id="hider" style="position:absolute; z-index:1; top:5.1em; left
:2em; width:3em; height:3em; background:red;"></div> | 25 <div id="hider" style="position:absolute; z-index:1; top:5.1em; left
:2em; width:3em; height:3em; background:red;"></div> |
26 <div style="width:20em; height:20em; -webkit-writing-mode:vertical-l
r;"> | 26 <div style="width:20em; height:20em; -webkit-writing-mode:vertical-l
r;"> |
27 <div style="-webkit-columns:4; -webkit-column-fill:auto; -webkit
-column-gap:0; columns:4; column-fill:auto; column-gap:0; orphans:1; widows:1; -
webkit-logical-height:6em; line-height:2em; background:cyan;"> | 27 <div style="-webkit-columns:4; -webkit-column-gap:0; columns:4;
column-fill:auto; column-gap:0; orphans:1; widows:1; -webkit-logical-height:6em;
line-height:2em; background:cyan;"> |
28 <br> | 28 <br> |
29 <br> | 29 <br> |
30 <br> | 30 <br> |
31 <br> | 31 <br> |
32 <div style="position:relative;"> PASS</div> | 32 <div style="position:relative;"> PASS</div> |
33 </div> | 33 </div> |
34 </div> | 34 </div> |
35 </div> | 35 </div> |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |