Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Test: multi-line text after block-in-inline starts after the block's margin</title>
<link rel="match" href="block-in-inline-margin-with-multi-line-text-after-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="assert" content="Multiple lines of text after a block-in-inline begin at the block's bottom plus margin-bottom.">
<style>
.container { width: 60px; font: 20px/1 Ahem; color: green; }
.inner { width: 60px; height: 20px; margin-bottom: 40px; background: green; }
</style>
<p>Green square, 40px gap, then 'XX', then 'XX' on the next line.</p>
<div class="container">
<span><div class="inner"></div>XX XX</span>
</div>