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 /* This test is the same as ellipse-shape-inside except that the ellipse rad
ii are 250px,150px instead | 5 /* This test is the same as ellipse-shape-inside except that the ellipse rad
ii are 250px,150px instead |
10 of 200px,100px and shape-padding 50px has been specified. The expected re
sult is the same as the original test. | 6 of 200px,100px and shape-padding 50px has been specified. The expected re
sult is the same as the original test. |
11 */ | 7 */ |
12 #shape-inside { | 8 #shape-inside { |
13 position: relative; | 9 position: relative; |
14 width: 500px; | 10 width: 500px; |
15 height: 500px; | 11 height: 500px; |
16 -webkit-shape-inside: ellipse(220px, 220px, 250px, 150px); | 12 -webkit-shape-inside: ellipse(220px, 220px, 250px, 150px); |
17 -webkit-shape-padding: 50px; | 13 -webkit-shape-padding: 50px; |
(...skipping 12 matching lines...) Expand all Loading... |
30 </head> | 26 </head> |
31 <body> | 27 <body> |
32 <div id="shape-inside"> | 28 <div id="shape-inside"> |
33 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> | 29 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg"> |
34 <ellipse cx="220" cy="220" rx="200" ry="100" stroke="blue" fill="no
ne"/> | 30 <ellipse cx="220" cy="220" rx="200" ry="100" stroke="blue" fill="no
ne"/> |
35 </svg> | 31 </svg> |
36 X | 32 X |
37 </div> | 33 </div> |
38 </body> | 34 </body> |
39 </html> | 35 </html> |
OLD | NEW |