author Brad Werth <>
Wed, 23 May 2018 12:46:54 -0700
changeset 420751 fbfe1d5b94e18aa6cd09e684c46ea9895c6c43c3
permissions -rw-r--r--
Bug 1461046 Part 5: Add reftests that verify empty shapes still contribute their edges to float areas. r=dholbert MozReview-Commit-ID: 9YiQoNZSG5i

<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Shape-outside empty horizontal inset, positioned between elements, acts like nothing</title>
  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(20px 0px 160px 50px);
<div class="container">
<div class="shape"></div>