OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Column and multicol content top overflow clipping</title> | 4 <title>Column and multicol content top overflow clipping</title> |
5 <script> | 5 <script> |
6 if (window.internals) | 6 if (window.internals) |
7 internals.settings.setRegionBasedColumnsEnabled(true); | 7 internals.settings.setRegionBasedColumnsEnabled(true); |
8 </script> | 8 </script> |
9 <style> | 9 <style> |
10 .mc { | 10 .mc { |
11 columns: 3; | 11 columns: 3; |
12 column-gap: 15px; | 12 column-gap: 15px; |
13 column-fill: auto; | 13 column-fill: auto; |
14 -webkit-columns: 3; | 14 -webkit-columns: 3; |
15 -webkit-column-gap: 15px; | 15 -webkit-column-gap: 15px; |
16 -webkit-column-fill: auto; | |
17 width: 600px; | 16 width: 600px; |
18 height: 100px; | 17 height: 100px; |
19 } | 18 } |
20 </style> | 19 </style> |
21 </head> | 20 </head> |
22 <body> | 21 <body> |
23 <p>There should be a 100x100 blue square below.</p> | 22 <p>There should be a 100x100 blue square below.</p> |
24 <div class="mc" style="margin-left:50px; margin-top:20px;"> | 23 <div class="mc" style="margin-left:50px; margin-top:20px;"> |
25 <div style="width:100px; height:100px; background:blue;"></div> | 24 <div style="width:100px; height:100px; background:blue;"></div> |
26 </div> | 25 </div> |
27 </body> | 26 </body> |
28 </html> | 27 </html> |
OLD | NEW |