blob: 007e993b6178607d7c18c6cd58a699026397f7aa [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#image-shape {
float: left;
-webkit-shape-outside: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAK0lEQVQ4T2NkYPj/n4GKgHHUQIpDczQMKQ5ChtEwHA1DMkJgNNmQEWhoWgAkKift4VBlVgAAAABJRU5ErkJggg==");
-webkit-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
</div>
</body>
</html>