blob: d2df42e1570e90490106a60a5600b7aee2ef5b42 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#content {
font: 50px/1 Ahem, sans-serif;
-webkit-font-smoothing: antialiased;
color: green;
}
#sandbag {
float: left;
width: 150px;
height: 100px;
}
</style>
</head>
<body>
<p>The shape-outside in this test is a 2x2 image with only the upper left pixel set. The shape
element's margin-box is and the the shape-margin is big enough (is greater than 150 * sqrt(2))
so that the shape-margin boundary extends beyond the margin-box's bounds. The shape-outside boundary
is clipped to the margin-box, so it's as if the shape-outside was equal to the margin-box.</p>
<div id="content">
<div id="sandbag"></div>X<br>X
</div>
</body>
</html>