Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Test: inline text after block-in-inline starts after the block's margin-bottom</title>
<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>