wpt / css / css-rhythm / block-step-size-establishes-block-formatting-context.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-rhythm/block-step-size-establishes-block-formatting-context.html

<!DOCTYPE html>
<html>
<head>
<link rel="author" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-rhythm/#block-step-size">
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="block-step-size values other than none on a block box causes it to establish a block formatting context">
<style>
div {
    width: 50px;
    height: 100px;
    background-color: green;
}
.floating {
    float: left;
}
.block-step-size {
    block-step-size: 1px;
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<div class="floating"></div>
<div class="block-step-size"></div>
</body>
</html>

/css/reference/ref-filled-green-100px-square-only.html

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<p>Test passes if there is a filled green square.</p>
<div style="width:100px; height:100px; background:green;"></div>