Status: FAIL | Duration: 16ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-inline/text-box-trim/text-box-trim-not-ignore-nested-text-box-edge.html
<!DOCTYPE html> <title>No need to consult the block container requesting the trim for text-box-edge</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-not-ignore-nested-text-box-edge-ref.html"> <link rel="stylesheet" href="/fonts/baseline-diagnostic/baseline-diagnostic-font.css"> <meta charset="utf-8"> <!-- https://github.com/w3c/csswg-drafts/issues/10904 --> <style> .spacer { background: lightgray; block-size: 100px; } .target { font: 50px/2 BaselineDiagnosticAlphabeticZero; text-box-trim: trim-both; text-box-edge: ex alphabetic; } .inner { text-box-edge: auto; /* auto keyword uses the value of line-fit-edge on the root inline box of the affected line box, interpreting leading (the initial value) as text. */ } </style> <div class="spacer"></div> <div class="target"> <div class="inner">█BxIF</div> </div> <div class="spacer"></div>
/css/css-inline/text-box-trim/text-box-trim-not-ignore-nested-text-box-edge-ref.html
<!DOCTYPE html> <link rel="stylesheet" href="/fonts/baseline-diagnostic/baseline-diagnostic-font.css"> <meta charset="utf-8"> <style> .spacer { background: lightgray; block-size: 100px; } .target { font: 50px/1 BaselineDiagnosticAlphabeticZero; } </style> <div class="spacer"></div> <div class="target">█BxIF</div> <div class="spacer"></div>