gecko-dev/layout/reftests/css-shapes/shape-outside-empty-inset-4.html
Brad Werth 804da7c86f Bug 1461046 Part 5: Add reftests that verify empty shapes still contribute their edges to float areas. r=dholbert
MozReview-Commit-ID: 9YiQoNZSG5i

--HG--
extra : rebase_source : 4eda372691788ea191adb7df84ef3ed0b20eb6bc
2018-05-23 12:46:54 -07:00

43 lines
750 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Shape-outside empty horizontal flat inset, with shape-margin acts like a circle</title>
<style>
body {
line-height: 0;
}
.container {
width: 600px;
}
box {
display: inline-block;
background-color: blue;
width: 100px;
height: 20px;
}
.shape {
float: left;
width: 200px;
height: 180px;
shape-outside: inset(50% 50% 50% 0%);
shape-margin: 90px;
}
</style>
</head>
<body>
<div class="container">
<div class="shape"></div>
<box></box><br>
<box></box><br>
<box></box><br>
<box></box><br>
<box></box><br>
<box></box><br>
<box></box><br>
<box></box><br>
<box></box><br>
</div>
</body>
</html>