OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Avoid column break inside block</title> | 4 <title>Resolving percent height inside multicol</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 </head> | 9 </head> |
10 <body> | 10 <body> |
11 <p>There should be a blue square below.</p> | 11 <p>There should be a blue square below.</p> |
12 <div style="-webkit-columns:4; columns:4;"> | 12 <div style="-webkit-columns:3; columns:3; -webkit-column-gap:0; column-g
ap:0; width:99px; height:99px;"> |
13 <div style="width:100px; height:100px; -webkit-column-break-inside:a
void; break-inside:avoid; background:blue;"></div> | 13 <div style="height:300%; background:blue;"></div> |
14 </div> | 14 </div> |
15 </body> | 15 </body> |
16 </html> | 16 </html> |
OLD | NEW |