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 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;"> |
19 second column<br> | 15 second 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 second column<br> | 19 second column<br> |
24 second column<br> | 20 second column<br> |
25 </div> | 21 </div> |
26 <div> | 22 <div> |
27 third column<br> | 23 third column<br> |
28 third column<br> | 24 third column<br> |
29 third column<br> | 25 third column<br> |
30 third column<br> | 26 third column<br> |
31 </div> | 27 </div> |
32 </div> | 28 </div> |
33 </body> | 29 </body> |
34 </html> | 30 </html> |
OLD | NEW |