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: 100px; | 7 width: 100px; |
12 height: 150px; | 8 height: 150px; |
13 } | 9 } |
14 | 10 |
15 #shape-outline { | 11 #shape-outline { |
16 position: absolute; | 12 position: absolute; |
17 top: 0px; | 13 top: 0px; |
(...skipping 16 matching lines...) Expand all Loading... | |
34 <div id="shape-inside"> | 30 <div id="shape-inside"> |
35 <pre id="shape-contents"> | 31 <pre id="shape-contents"> |
36 XX | 32 XX |
37 XX</pre> | 33 XX</pre> |
38 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> | 34 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> |
39 <polygon points="0,150 0,50 12,12 50,0 88,12 100,50 100,150" stroke= "blue" fill="none"/> | 35 <polygon points="0,150 0,50 12,12 50,0 88,12 100,50 100,150" stroke= "blue" fill="none"/> |
40 </svg> | 36 </svg> |
41 </div> | 37 </div> |
42 </body> | 38 </body> |
43 </html> | 39 </html> |
OLD | NEW |