Status: FAIL | Duration: 14ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-inline/text-box-trim/text-box-trim-multicol-008.html
<!DOCTYPE html> <title>Test when a box with `text-box-trim` is block fragmented</title> <meta name="assert" content="text-box-trim specified inside a fragmentation context does not trim at column boundaries unless box-decoration-break is 'clone'"> <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-edge"> <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim"> <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5335#issuecomment-1908655635"> <link rel="match" href="text-box-trim-multicol-008-ref.html"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .multicol { column-count: 3; column-fill: auto; border: 1px solid; height: 160px; width: 20ch; text-box-trim: trim-start; font-family: Ahem; font-size: 40px; line-height: 2; orphans: 1; widows: 1; } </style> <div class="multicol"> <div></div> abc abc abc abc abc abc </div>
/css/css-inline/text-box-trim/text-box-trim-multicol-008-ref.html
<!DOCTYPE html> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .multicol { column-count: 3; column-fill: auto; border: 1px solid; height: 160px; width: 20ch; font-family: Ahem; font-size: 40px; line-height: 1; } .down-half { position: relative; top: 20px; } </style> <div class="multicol"> <div class="down-half"> abc<br><br>abc<br><br> </div> abc<br><br>abc<br><br> abc<br><br>abc<br><br> </div>