Status: FAIL | Duration: 23ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-inline/text-box-trim/text-box-trim-float-clear-br-003.html
<!DOCTYPE html> <title>text-box-trim does not interfere with clearance less than trim amount</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-float-clear-br-003-ref.html"> <link rel="stylesheet" href="/fonts/baseline-diagnostic/baseline-diagnostic-font.css"> <meta charset="utf-8"> <style> .spacer { background: lightgray; block-size: 100px; } .target, .float { font: 100px/1 BaselineDiagnosticAlphabeticZero; } .target { text-box-trim: trim-end; text-box-edge: text alphabetic; } .float { float: left; width: 100px; height: 90px; background: yellow; } .clear { clear: both; } </style> <div class="float"></div> <div class="target"> █BxIF <br class="clear"> </div> <div class="spacer"></div>
/css/css-inline/text-box-trim/text-box-trim-float-clear-br-003-ref.html
<!DOCTYPE html> <link rel="stylesheet" href="/fonts/baseline-diagnostic/baseline-diagnostic-font.css"> <meta charset="utf-8"> <style> .spacer { margin-top: -10px; background: lightgray; block-size: 100px; } .target { font-family: BaselineDiagnosticAlphabeticZero; font-size: 100px; line-height: 1; } .float { float: left; width: 100px; height: 90px; background: yellow; } .clear { clear: both; } </style> <div class="float"></div> <div class="target"> █BxIF </div> <div class="spacer"></div>