Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sammygill authored Dec 4, 2024
1 parent e9d8459 commit fa70881
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions css/css-rhythm/zero-outer-size-rounded-up-to-block-step-size.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-rhythm/#block-step-size">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Box with an outer size of 0 is rounded up to the specified block-step-size">
<style>
.container {
display: flow-root;
width: 100px;
background-color: green;
}
.block-step {
display: block;
block-step-size: 100px;
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<div class="container">
<div class="block-step"></div>
</div>
</body>
</html>

0 comments on commit fa70881

Please sign in to comment.