| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 .parent { | |
| 6 background-color: green; | |
| 7 width: 300px; | |
| 8 border: 1px solid blue; | |
| 9 } | |
| 10 .container { | |
| 11 background-color: yellow; | |
| 12 } | |
| 13 </style> | |
| 14 </head> | |
| 15 <body> | |
| 16 | |
| 17 <div class="parent"> | |
| 18 <div class="container"> | |
| 19 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 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 Flask's boat and marring the bows. | |
| 22 </div> | |
| 23 </div> | |
| 24 | |
| 25 <p>We have two containers, a shape-inside: rectangle property is applied on the
nested container. Since the nested container's height is not resolvable, we shou
ldn't apply the rectangle shape-inside on the content. <br/>We should see the co
ntent inside a 300px wide green container, the text shouldn't conform to any sma
ller shape</p> | |
| 26 | |
| 27 </body> | |
| 28 </html> | |
| OLD | NEW |