blob: 1e793bde0bdad4e4184bd5fc07efac7fbe4333d1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#image-shape-outside {
float: left;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120px' height='50px'><rect x='0' y='0' width='120' height='50' fill='blue'/></svg>");
background-repeat: no-repeat;
width: 120px;
height: 50px;
}
</style>
</head>
<body>
<p>The green "Hello World" should appear to the right of the blue rectangle.</p>
<div style="color: green">
<div id="image-shape-outside"></div>
Hello World
</div>
</body>
</html>