Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-rhythm/block-step-size-establishes-independent-formatting-context.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<link rel="author" href="mailto:sammy.gill@apple.com">
<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 block level elements cause the box to establish an independent 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>