OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
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> | |
4 <div style="-webkit-columns:4; -webkit-column-gap:0; width:4em; background:yello w;"> | |
5 <div id="elm" style="position:absolute;"> | |
6 P<br> | |
7 A<br> | |
8 S<br> | |
9 S<br> | |
10 </div> | |
11 </div> | |
12 <script> | |
13 document.body.offsetTop; | |
14 document.getElementById("elm").style.position = "static"; | |
15 </script> | |
OLD | NEW |