<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#image-shape { | |
float: left; | |
-webkit-shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='blue'/></svg>"); | |
width: 100px; | |
height: 200px; | |
margin-right: 50px; /* expose shape-outside property failures */ | |
} | |
#content { | |
font: 50px/1 Ahem, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
color: green; | |
} | |
</style> | |
<div id="content"> | |
<img id="image-shape"/> | |
X<br>X<br>X<br>X<br>X | |
</div> | |
</body> | |
</html> |