30 lines
763 B
HTML
30 lines
763 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
#image-shape {
|
|
float: left;
|
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAK0lEQVQ4T2NkYPj/n4GKgHHUQIpDczQMKQ5ChtEwHA1DMkJgNNmQEWhoWgAkKift4VBlVgAAAABJRU5ErkJggg==");
|
|
background-repeat: no-repeat;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
#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>
|