OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html style="font-family: ahem; -webkit-font-smoothing: none;"> | 2 <html style="font-family: ahem; -webkit-font-smoothing: none;"> |
3 <style> | 3 <style> |
4 #div1 { | 4 #div1 { |
5 -webkit-column-count: 2; | 5 -webkit-column-count: 2; |
6 } | 6 } |
7 #span1:after | 7 #span1:after |
8 { | 8 { |
9 display: block; | 9 display: block; |
10 content: counter(c); | 10 content: counter(c); |
11 color: green; | 11 color: green; |
12 -webkit-column-span: all; | 12 -webkit-column-span: all; |
13 } | 13 } |
14 </style> | 14 </style> |
15 <div id="div1"> | 15 <div id="div1"> |
16 A<span id="span1" style="color: blue">B</span>C | 16 A<span id="span1" style="color: blue">B</span>C |
17 </div> | 17 </div> |
18 <script> | 18 <script> |
19 function runTest() | 19 function runTest() |
20 { | 20 { |
21 span1 = document.getElementById('span1'); | 21 span1 = document.getElementById('span1'); |
22 span1.style.display = 'block'; | 22 span1.style.display = 'block'; |
23 document.body.offsetTop; | 23 document.body.offsetTop; |
24 document.body.style.zoom = 2; | 24 document.body.style.zoom = 2; |
25 } | 25 } |
26 | 26 |
27 window.onload = runTest; | 27 window.onload = runTest; |
28 </script> | 28 </script> |
29 </html> | 29 </html> |
OLD | NEW |