Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=314969 (#60073) -- wpt-commits: 3a1ecec2ee45a5de8838954b88121d0a1851a7db wpt-pr: 60073
16 lines
845 B
HTML
16 lines
845 B
HTML
<!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>
|