OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>auto-height multicol with break</title> | 4 <title>auto-height multicol with break</title> |
5 <script> | |
6 if (window.internals) | |
7 internals.settings.setRegionBasedColumnsEnabled(true); | |
8 </script> | |
9 <style> | 5 <style> |
10 .mc > div { padding:0 0.5em; } | 6 .mc > div { padding:0 0.5em; } |
11 </style> | 7 </style> |
12 </head> | 8 </head> |
13 <body style="min-width:40em;"> | 9 <body style="min-width:40em;"> |
14 <div class="mc" style="-webkit-columns:3; -webkit-column-gap:1em; column
s:3; column-gap:1em; orphans:1; widows:1; width:24.5em; background:olive;"> | 10 <div class="mc" style="-webkit-columns:3; -webkit-column-gap:1em; column
s:3; column-gap:1em; orphans:1; widows:1; width:24.5em; background:olive;"> |
15 <div style="-webkit-column-break-after:always; break-after:column;"> | 11 <div style="-webkit-column-break-after:always; break-after:column;"> |
16 first column<br> | 12 first column<br> |
17 </div> | 13 </div> |
18 <div style="-webkit-column-break-after:always; break-after:column;"> | 14 <div style="-webkit-column-break-after:always; break-after:column;"> |
(...skipping 16 matching lines...) Expand all Loading... |
35 fourth column<br> | 31 fourth column<br> |
36 fourth column<br> | 32 fourth column<br> |
37 fourth column<br> | 33 fourth column<br> |
38 fourth column<br> | 34 fourth column<br> |
39 fifth column<br> | 35 fifth column<br> |
40 fifth column<br> | 36 fifth column<br> |
41 </div> | 37 </div> |
42 </div> | 38 </div> |
43 </body> | 39 </body> |
44 </html> | 40 </html> |
OLD | NEW |