OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <p>Change a fixed positioned child of an otherwise empty multicol container to s
tatic positioned.</p> | 2 <p>Change a fixed positioned child of an otherwise empty multicol container to s
tatic positioned.</p> |
3 <p>Below you should see the word "PASS" with large letter spacing on a yellow ba
ckground.</p> | 3 <p>Below you should see the word "PASS" with large letter spacing on a yellow ba
ckground.</p> |
4 <div style="-webkit-columns:4; -webkit-column-gap:0; width:4em; background:yello
w;"> | 4 <div style="-webkit-columns:4; -webkit-column-gap:0; width:4em; orphans:1; widow
s:1; background:yellow;"> |
5 <div id="elm" style="position:absolute;"> | 5 <div id="elm" style="position:absolute;"> |
6 P<br> | 6 P<br> |
7 A<br> | 7 A<br> |
8 S<br> | 8 S<br> |
9 S<br> | 9 S<br> |
10 </div> | 10 </div> |
11 </div> | 11 </div> |
12 <script> | 12 <script> |
13 document.body.offsetTop; | 13 document.body.offsetTop; |
14 document.getElementById("elm").style.position = "static"; | 14 document.getElementById("elm").style.position = "static"; |
15 </script> | 15 </script> |
OLD | NEW |