Status: FAIL | Duration: 26ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001.html
<!DOCTYPE html> <title>Test the `text-box-trim` isn't propagated into atomic inlines</title> <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim"> <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-edge"> <link rel="match" href="text-box-trim-atomic-inline-001-ref.html"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <meta charset="utf-8"> <style> .spacer { background: lightgray; block-size: 100px; } .target { font: 100px/2 Ahem; text-box-trim: trim-both; text-box-edge: text; } .atomic { display: inline-block; background: lime; } </style> <div class="spacer"></div> <div class="target"> <span class="atomic">ApÉx</span> </div> <div class="spacer"></div>
/css/css-inline/text-box-trim/text-box-trim-atomic-inline-001-ref.html
<!DOCTYPE html> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <meta charset="utf-8"> <style> .spacer { background: lightgray; block-size: 100px; } .target { font: 100px/2 Ahem; position: relative; top: -50px; height: 100px; } .atomic { display: inline-block; background: lime; } </style> <div class="spacer"></div> <div class="target"> <span class="atomic">ApÉx</span> </div> <div class="spacer"></div>