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