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