OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html style="font-family: Ahem; font-size: 10px; -webkit-font-smoothing: none;"> | 2 <html style="font-family: ahem; font-size: 10px; -webkit-font-smoothing: none;"> |
| 3 <script> |
| 4 if (window.internals) |
| 5 internals.settings.setRegionBasedColumnsEnabled(true); |
| 6 </script> |
3 <body> | 7 <body> |
4 <style> | 8 <style> |
5 #test1 { -webkit-column-count: 2; } | 9 #test1 { -webkit-column-count: 2; } |
6 #test2 { -webkit-column-span: all; } | 10 #test2 { -webkit-column-span: all; } |
7 #test3 { content: counter(c); } | 11 #test3 { content: counter(c); } |
8 </style> | 12 </style> |
9 <script> | 13 <script> |
10 onload = function() { | 14 onload = function() { |
11 test1 = document.createElement('div'); | 15 test1 = document.createElement('div'); |
12 test1.setAttribute('id', 'test1'); | 16 test1.setAttribute('id', 'test1'); |
13 document.body.appendChild(test1); | 17 document.body.appendChild(test1); |
14 test2 = document.createElement('div'); | 18 test2 = document.createElement('div'); |
15 test2.setAttribute('id', 'test2'); | 19 test2.setAttribute('id', 'test2'); |
16 test1.appendChild(test2); | 20 test1.appendChild(test2); |
17 test3 = document.createElement('div'); | 21 test3 = document.createElement('div'); |
18 test3.setAttribute('id', 'test3'); | 22 test3.setAttribute('id', 'test3'); |
19 test1.appendChild(test3); | 23 test1.appendChild(test3); |
20 test4 = document.createElement('div'); | 24 test4 = document.createElement('div'); |
21 test1.appendChild(test4); | 25 test1.appendChild(test4); |
22 test4.style.display = 'table-row-group'; | 26 test4.style.display = 'table-row-group'; |
23 test3.appendChild(document.createTextNode('3')); | 27 test3.appendChild(document.createTextNode('3')); |
24 test4.appendChild(document.createTextNode('4')); | 28 test4.appendChild(document.createTextNode('4')); |
25 document.body.offsetTop; | 29 document.body.offsetTop; |
26 document.body.style.zoom = 2; | 30 document.body.style.zoom = 2; |
27 } | 31 } |
28 </script> | 32 </script> |
29 </body> | 33 </body> |
30 </html> | 34 </html> |
OLD | NEW |