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.setCSSExclusionsEnabled(true); | |
7 </script> | |
8 <style> | 4 <style> |
9 #shape-inside-vertical-lr { | 5 #shape-inside-vertical-lr { |
10 width: 200px; | 6 width: 200px; |
11 height: 220px; | 7 height: 220px; |
12 -webkit-shape-inside: rectangle(15px, 20px, 150px, 175px); | 8 -webkit-shape-inside: rectangle(15px, 20px, 150px, 175px); |
13 -webkit-writing-mode: vertical-lr; | 9 -webkit-writing-mode: vertical-lr; |
14 position: relative; | 10 position: relative; |
15 } | 11 } |
16 #shape-inside-vertical-rl { | 12 #shape-inside-vertical-rl { |
17 width: 200px; | 13 width: 200px; |
(...skipping 16 matching lines...) Expand all Loading... |
34 <div id="shape-inside-vertical-lr"> | 30 <div id="shape-inside-vertical-lr"> |
35 <div id="border"></div> | 31 <div id="border"></div> |
36 This text should be contained by the blue square. | 32 This text should be contained by the blue square. |
37 </div> | 33 </div> |
38 <div id="shape-inside-vertical-rl"> | 34 <div id="shape-inside-vertical-rl"> |
39 <div id="border"></div> | 35 <div id="border"></div> |
40 This text should be contained by the blue square. | 36 This text should be contained by the blue square. |
41 </div> | 37 </div> |
42 </body> | 38 </body> |
43 </html> | 39 </html> |
OLD | NEW |