blob: eeed0b8645d786db011c67404f0d96f87696328f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#image-shape {
float: left;
shape-outside: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAK0lEQVQ4T2NkYPj/n4GKgHHUQIpDczQMKQ5ChtEwHA1DMkJgNNmQEWhoWgAkKift4VBlVgAAAABJRU5ErkJggg==");
shape-image-threshold: 0;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAK0lEQVQ4T2NkYPj/n4GKgHHUQIpDczQMKQ5ChtEwHA1DMkJgNNmQEWhoWgAkKift4VBlVgAAAABJRU5ErkJggg==");
background-repeat: no-repeat;
width: 100px;
height: 100px;
}
#content {
font: 20px/1 Ahem, sans-serif;
color: green;
}
</style>
</head>
<body>
<p>
This test requires the Ahem font. It uses a 20x20 PNG solid blue image to define a shape-outside
for a "float: left" div. The green content should wrap around the blue square.</p>
<div id="content">
<div id="image-shape"></div>
XX</br>XX
</body>
</html>