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 { | 5 #shape-inside { |
10 position: relative; | 6 position: relative; |
11 width: 400px; | 7 width: 400px; |
12 height: 400px; | 8 height: 400px; |
13 -webkit-shape-inside: rectangle(10px, 10px, 250px, 250px); | 9 -webkit-shape-inside: rectangle(10px, 10px, 250px, 250px); |
14 -webkit-shape-padding: 50px; | 10 -webkit-shape-padding: 50px; |
15 font: 50px/1 Ahem, sans-serif; | 11 font: 50px/1 Ahem, sans-serif; |
16 color: green; | 12 color: green; |
17 } | 13 } |
(...skipping 10 matching lines...) Expand all Loading... |
28 <body> | 24 <body> |
29 <p>You should see a filled green square within a black outline.</p> | 25 <p>You should see a filled green square within a black outline.</p> |
30 <div id="shape-inside"> | 26 <div id="shape-inside"> |
31 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> | 27 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> |
32 <rect x="58" y="58" width="154" height="154" stroke="black" fill="no
ne"/> | 28 <rect x="58" y="58" width="154" height="154" stroke="black" fill="no
ne"/> |
33 </svg> | 29 </svg> |
34 XXX XXX XXX | 30 XXX XXX XXX |
35 </div> | 31 </div> |
36 </body> | 32 </body> |
37 </html> | 33 </html> |
OLD | NEW |