Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/CSS2/box-display/block-in-inline-margin-with-multi-line-text-after.html
<!DOCTYPE html> <title>CSS Test: multi-line text after block-in-inline starts after the block's margin</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="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>
/css/CSS2/box-display/block-in-inline-margin-with-multi-line-text-after-ref.html
<!DOCTYPE html> <title>CSS Reference</title> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> <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"> <div class="inner"></div>XX XX </div>