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 .parent { | 5 .parent { |
10 background-color: green; | 6 background-color: green; |
11 width: 300px; | 7 width: 300px; |
12 border: 1px solid blue; | 8 border: 1px solid blue; |
13 } | 9 } |
14 .container { | 10 .container { |
15 background-color: yellow; | 11 background-color: yellow; |
16 -webkit-shape-inside: circle(50%, 50%, 50%); | 12 -webkit-shape-inside: circle(50%, 50%, 50%); |
17 } | 13 } |
18 </style> | 14 </style> |
19 </head> | 15 </head> |
20 <body> | 16 <body> |
21 | 17 |
22 <div class="parent"> | 18 <div class="parent"> |
23 <div class="container"> | 19 <div class="container"> |
24 But humane Starbuck was too late. At the instant of the dart an ulcerous
jet shot from this cruel wound, and goaded by it into more than sufferable angu
ish, | 20 But humane Starbuck was too late. At the instant of the dart an ulcerous
jet shot from this cruel wound, and goaded by it into more than sufferable angu
ish, |
25 the whale now spouting thick blood, with swift fury blindly darted at th
e craft, bespattering them and their glorying crews all over with showers of gor
e, capsizing | 21 the whale now spouting thick blood, with swift fury blindly darted at th
e craft, bespattering them and their glorying crews all over with showers of gor
e, capsizing |
26 Flask's boat and marring the bows. | 22 Flask's boat and marring the bows. |
27 </div> | 23 </div> |
28 </div> | 24 </div> |
29 | 25 |
30 <p>We have two containers, a shape-inside: circle property is applied on the nes
ted container. Since the nested container's height is not resolvable, we shouldn
't apply the circle shape-inside on the content. <br/>We should see the content
inside a 300px wide green container, the text shouldn't form any circular shape.
</p> | 26 <p>We have two containers, a shape-inside: circle property is applied on the nes
ted container. Since the nested container's height is not resolvable, we shouldn
't apply the circle shape-inside on the content. <br/>We should see the content
inside a 300px wide green container, the text shouldn't form any circular shape.
</p> |
31 <p>Bug <a href="http://webkit.org/b/113255 ">113255</a>: The radius of a circle
should be computed based on the shorter available dimensions</p> | 27 <p>Bug <a href="http://webkit.org/b/113255 ">113255</a>: The radius of a circle
should be computed based on the shorter available dimensions</p> |
32 | 28 |
33 </body> | 29 </body> |
34 </html> | 30 </html> |
OLD | NEW |