blob: 22c67b0bfa23fbfe381170c09098ae67f2026246 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#image-shape {
float: left;
-webkit-shape-outside: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAYAAACaq43EAAAAQ0lEQVRIS2NkYPj/n4EowMhIlDIizQMaNmoxrgAdDWpcIUNcmhlNXHiy6mjiGk1csBAYzU7Y08JoATJagCCFAHWLTAAzb0/tZZmo4AAAAABJRU5ErkJggg==");
-webkit-shape-image-threshold: 0;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAYAAACaq43EAAAAQ0lEQVRIS2NkYPj/n4EowMhIlDIizQMaNmoxrgAdDWpcIUNcmhlNXHiy6mjiGk1csBAYzU7Y08JoATJagCCFAHWLTAAzb0/tZZmo4AAAAABJRU5ErkJggg==");
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 30x20 PNG image that contains a pair of 10x20
blue rectangles for a "float: left" div. The green content should wrap around the rightmost blue
rectangle</p>
<div id="content">
<div id="image-shape"></div>
XX</br>XX
</div>
</body>
</html>