| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 #container { | 5 #container { |
| 6 color: green; | 6 color: green; |
| 7 font: 100px/1 Ahem, sans-serif; | 7 font: 100px/1 Ahem, sans-serif; |
| 8 } | 8 } |
| 9 #shape-outside { | 9 #shape-outside { |
| 10 margin-top: 100px; | 10 margin-top: 100px; |
| 11 width: 200px; | 11 width: 200px; |
| 12 height: 400px; | 12 height: 400px; |
| 13 float: left; | 13 float: left; |
| 14 shape-outside: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.org/2
000/svg' width='50%' height='25%'><rect width='100%' height='100%' fill='blue' /
></svg>"); | 14 shape-outside: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/sv
g'><rect width='50%' height='25%' fill='blue' /></svg>"); |
| 15 background-image: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.or
g/2000/svg' width='50%' height='25%'><rect width='100%' height='100%' fill='blue
' /></svg>"); | 15 background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000
/svg'><rect width='50%' height='25%' fill='blue' /></svg>"); |
| 16 background-repeat: no-repeat; | 16 background-repeat: no-repeat; |
| 17 } | 17 } |
| 18 </style> | 18 </style> |
| 19 </head> | 19 </head> |
| 20 <body> | 20 <body> |
| 21 <p>You should see three blue squares: above the green square, to the green squar
e's right, and below the green square.</p> | 21 <p>You should see three green squares: above the blue square, to the blue square
's right, and below the blue square.</p> |
| 22 <div id="container"> | 22 <div id="container"> |
| 23 <div id="shape-outside"></div> | 23 <div id="shape-outside"></div> |
| 24 X<br>X<br>X | 24 X<br>X<br>X |
| 25 </div> | 25 </div> |
| 26 </body> | 26 </body> |
| 27 </html> | 27 </html> |
| OLD | NEW |