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> | 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 > div { padding:0 0.5em; } | 10 .mc > div { padding:0 0.5em; } |
11 </style> | 11 </style> |
12 </head> | 12 </head> |
13 <body style="min-width:40em;"> | 13 <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:23em; background:olive;"> | 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;"> |
15 <div style="-webkit-column-break-after:always; break-after:column;"> | 15 <div style="-webkit-column-break-after:always; break-after:column;"> |
16 first column<br> | 16 first column<br> |
17 </div> | 17 </div> |
18 <div style="-webkit-column-break-after:always; break-after:column;"> | 18 <div style="-webkit-column-break-after:always; break-after:column;"> |
19 second column<br> | 19 second column<br> |
20 second column<br> | 20 second column<br> |
21 second column<br> | 21 second column<br> |
22 second column<br> | 22 second column<br> |
23 second column<br> | 23 second column<br> |
24 second column<br> | 24 second column<br> |
(...skipping 10 matching lines...) Expand all Loading... |
35 fourth column<br> | 35 fourth column<br> |
36 fourth column<br> | 36 fourth column<br> |
37 fourth column<br> | 37 fourth column<br> |
38 fourth column<br> | 38 fourth column<br> |
39 fifth column<br> | 39 fifth column<br> |
40 fifth column<br> | 40 fifth column<br> |
41 </div> | 41 </div> |
42 </div> | 42 </div> |
43 </body> | 43 </body> |
44 </html> | 44 </html> |
OLD | NEW |