OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | |
5 if (window.internals) | |
6 window.internals.settings.setCSSShapesEnabled(true); | |
7 </script> | |
8 <style> | 4 <style> |
9 #container { | 5 #container { |
10 font: 20px Ahem, sans-serif; | 6 font: 20px Ahem, sans-serif; |
11 -webkit-font-smoothing: none; | 7 -webkit-font-smoothing: none; |
12 line-height: 20px; | 8 line-height: 20px; |
13 position: relative; | 9 position: relative; |
14 width: 200px; | 10 width: 200px; |
15 height: 200px; | 11 height: 200px; |
16 border: 2px solid blue; | 12 border: 2px solid blue; |
17 } | 13 } |
(...skipping 11 matching lines...) Expand all Loading... |
29 <body> | 25 <body> |
30 <div id="container"> | 26 <div id="container"> |
31 <div id="shape-inside"> | 27 <div id="shape-inside"> |
32 <div id="border"></div> | 28 <div id="border"></div> |
33 X X X X X X X X X X X X | 29 X X X X X X X X X X X X |
34 </div> | 30 </div> |
35 </div> | 31 </div> |
36 <p>Requires Ahem font. The content should wrap inside the green rectangle, a
nd the overflow should wrap inside the blue rectangle.</p> | 32 <p>Requires Ahem font. The content should wrap inside the green rectangle, a
nd the overflow should wrap inside the blue rectangle.</p> |
37 </body> | 33 </body> |
38 </html> | 34 </html> |
OLD | NEW |