blob: 7607d7f972bdc822efb27327d7945807704e6fda [file] [log] [blame]
<html>
<head>
<style>
.shape-outside {
position: absolute;
top: 0px;
left: 0px;
font: 10px / 1 Ahem, sans-serif;
width: 80px;
height: 80px;
border-radius: 50%;
background-color: green;
float: left;
}
</style>
</script>
</head>
<body>
<div class='shape-outside'>
<span style="margin-left: 66.25px;"></span>&nbsp;x<br/>
<span style="margin-left: 74.5px;"></span>&nbsp;x<br/>
<span style="margin-left: 78.5px;"></span>&nbsp;x<br/>
<span style="margin-left: 80px;"></span>&nbsp;x<br/>
<span style="margin-left: 80px;"></span>&nbsp;x<br/>
<span style="margin-left: 78.5px;"></span>&nbsp;x<br/>
<span style="margin-left: 74.5px;"></span>&nbsp;x<br/>
<span style="margin-left: 66.25px;"></span>&nbsp;x<br/>
</div>
<p style="margin-top: 100px;">The black rectangles should respect the boundaries of the shape-outside (green circle),
thus they shouldn't overlap with the green circle.</p>
<p><a href='http://webkit.org/b/127852'>Bug 127852</a>: [CSS Shapes] Rounded Insets Let Content Overlap Shape</p>
</body>
</html>