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:32em; 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:32em; background:olive;"> |
15 <div> | 11 <div> |
16 first column<br> | 12 first column<br> |
17 first column<br> | 13 first column<br> |
18 first column<br> | 14 first column<br> |
19 first column<br> | 15 first column<br> |
20 second column<br> | 16 second column<br> |
21 second column<br> | 17 second column<br> |
22 second column<br> | 18 second column<br> |
23 </div> | 19 </div> |
24 <div style="-webkit-column-break-before:always; break-before:column;
"> | 20 <div style="-webkit-column-break-before:always; break-before:column;
"> |
25 third column<br> | 21 third column<br> |
26 </div> | 22 </div> |
27 </div> | 23 </div> |
28 </body> | 24 </body> |
29 </html> | 25 </html> |
OLD | NEW |