OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Leading margins</title> | 4 <title>Leading margins</title> |
5 <script> | |
6 if (window.internals) | |
7 internals.settings.setRegionBasedColumnsEnabled(true); | |
8 </script> | |
9 <style> | 5 <style> |
10 .test { margin-top:100px; border:2px solid transparent; } | 6 .test { margin-top:100px; border:2px solid transparent; } |
11 </style> | 7 </style> |
12 </head> | 8 </head> |
13 <body> | 9 <body> |
14 <p>There should be no scrollbars.</p> | 10 <p>There should be no scrollbars.</p> |
15 <div style="-webkit-column-count:2; column-count:2;"> | 11 <div style="-webkit-column-count:2; column-count:2;"> |
16 <div class="test"></div> | 12 <div class="test"></div> |
17 <div class="test"></div> | 13 <div class="test"></div> |
18 <div class="test"></div> | 14 <div class="test"></div> |
19 </div> | 15 </div> |
20 </body> | 16 </body> |
21 </html> | 17 </html> |
OLD | NEW |