OLD | NEW |
1 <html> | 1 <html> |
2 <body onload="runTest()"> | 2 <body onload="runTest()"> |
3 <div style="width: 15px;"> | 3 <div style="width: 15px;"> |
4 <script> | 4 <script> |
5 function runTest() | 5 function runTest() |
6 { | 6 { |
7 document.body.offsetTop; | 7 document.body.offsetTop; |
8 var container = document.getElementById('panel'); | 8 var container = document.getElementById('panel'); |
9 container.style.position = 'relative'; | 9 container.style.position = 'relative'; |
10 document.getElementById('test1').style.setProperty("-webkit-
column-count", "3"); | 10 document.getElementById('test1').style.setProperty("-webkit-
column-count", "3"); |
11 document.getElementById('test2').style.position = 'absolute'
; | 11 document.getElementById('test2').style.position = 'absolute'
; |
12 } | 12 } |
13 </script> | 13 </script> |
14 <div id="panel"> | 14 <div id="panel"> |
15 <div id="test1"> | 15 <div id="test1"> |
16 <img style="float: left; width: 15px; height: 200px; backgro
und-color: silver;"> | 16 <img style="float: left; width: 15px; height: 200px; backgro
und-color: silver;"> |
17 </div> | 17 </div> |
18 <div id="test2" style="font-family: ahem;"> | 18 <div id="test2" style="font-family: ahem;"> |
19 <a><p>A B C D</p> | 19 <a><p>A B C D</p> |
20 </div> | 20 </div> |
21 </div> | 21 </div> |
22 </div> | 22 </div> |
23 </body> | 23 </body> |
24 </html> | 24 </html> |
OLD | NEW |