OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html lang="en"> | 2 <html lang="en"> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 if (window.internals) | 5 if (window.internals) |
6 window.internals.settings.setCSSExclusionsEnabled(true); | 6 window.internals.settings.setCSSExclusionsEnabled(true); |
7 </script> | 7 </script> |
8 <style> | 8 <style> |
9 .region, .content { | 9 .region, .content { |
10 font: 50px/1 Ahem, sans-serif; | 10 font: 50px/1 Ahem, sans-serif; |
11 } | 11 } |
12 .region { | 12 .region { |
13 width: 100px; | 13 width: 100px; |
14 height: 100px; | 14 height: 100px; |
15 -webkit-shape-inside: rectangle(0, 0, 100%, 100%); | 15 shape-inside: rectangle(0, 0, 100%, 100%); |
16 } | 16 } |
17 .content * { | 17 .content * { |
18 color: green; | 18 color: green; |
19 width: 100px; | 19 width: 100px; |
20 overflow-wrap: break-word; | 20 overflow-wrap: break-word; |
21 } | 21 } |
22 .region.inline-block { -webkit-flow-from: inline-block-flow; } | 22 .region.inline-block { -webkit-flow-from: inline-block-flow; } |
23 .content.inline-block { -webkit-flow-into: inline-block-flow; } | 23 .content.inline-block { -webkit-flow-into: inline-block-flow; } |
24 | 24 |
25 .region.float { -webkit-flow-from: float-flow; } | 25 .region.float { -webkit-flow-from: float-flow; } |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 <div>xxxx</div> | 125 <div>xxxx</div> |
126 </div> | 126 </div> |
127 | 127 |
128 <p>Grid</p> | 128 <p>Grid</p> |
129 <div class='region grid'></div> | 129 <div class='region grid'></div> |
130 <div class='content grid'> | 130 <div class='content grid'> |
131 <div>xxxx</div> | 131 <div>xxxx</div> |
132 </div> | 132 </div> |
133 </body> | 133 </body> |
134 </html> | 134 </html> |
OLD | NEW |