blob: eac7495fa396850f06979fbfb7ae510cc4008855 [file] [edit]
<!DOCTYPE html>
<title>CSS Test: inline text after block-in-inline starts after the block's margin-bottom</title>
<link rel="help" href="https://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">
<link rel="help" href="https://www.w3.org/TR/CSS21/visuren.html#inline-formatting">
<link rel="match" href="inline-text-after-block-in-inline-margin-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="assert" content="Inline content following a block-in-inline starts after the block's margin-bottom on a new line.">
<style>
.container { width: 200px; font: 20px/1 Ahem; color: green; }
.inner { width: 100px; height: 20px; margin-bottom: 40px; background: green; }
</style>
<p>Green square, 40px gap, then 'XX' on its own line.</p>
<div class="container">
<span><div class="inner"></div>XX</span>
</div>