chromium/third_party/blink/web_tests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000-expected.html

<!DOCTYPE html>
<style>
.container {
    position: relative;
    font: 20px/1 Ahem, sans-serif;
    width: 500px;
    height: 200px;
    border: 1px solid black;
}

.ellipse {
    z-index: -1;
    width: 320px;
    height: 160px;
    border-radius: 160px / 80px;
    background-color: blue;
    overflow: hidden;
}

#left-ellipse-outline {
    position: absolute;
    top: 20px;
    left: 0px;
}

#right-ellipse-outline {
    position: absolute;
    top: 20px;
    right: 0px;
}

.left-ellipse-float-line {
    float: left;
    clear: left;
    height: 20px;
}

.right-ellipse-float-line {
    float: right;
    clear: right;
    height: 20px;
}
</style>
<body>
<p>The black squares should trace the right side of the ellipse's blue outline.</p>
<div class="container">
X<br/>
    <div id="left-ellipse-outline" class="ellipse"></div>
    <!--  generated left-rounded-rect-float-line divs will be inserted here  -->
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X
</div>

<p>The black squares should trace the left side of the ellipse's blue outline.</p>
<div class="container" style="text-align: right">
X<br/>
    <div id="right-ellipse-outline" class="ellipse"></div>
    <!--  generated right-rounded-rect-float-line divs will be inserted here  -->
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X<br/>
X
</div>

<script src="../resources/rounded-rectangle.js"></script>
<script src="../resources/subpixel-utils.js"></script>
<script>
genLeftRightRoundedRectFloatShapeOutsideRefTest({
    roundedRect: {x: 0, y: 20, width: 320, height: 160, rx: 160, ry: 80},
    containerWidth: 500,
    containerHeight: 200,
    lineHeight: 20,
    floatElementClassSuffix: "ellipse-float-line",
    insertElementIdSuffix: "ellipse-outline"
});
</script>

</body>