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-012.html
<!DOCTYPE html> <title>Test text-box-trim with orphans</title> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim"> <link rel="help" href="https://drafts.csswg.org/css-break/#widows-orphans"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <link rel="match" href="text-box-trim-multicol-012-ref.html"> <style> .multicol { columns: 3; column-fill: auto; width: 640px; height: 400px; gap: 20px; text-box-trim: trim-both; font-family: Ahem; font-size: 50px; line-height: 100px; orphans: 2; widows: 1; background: yellow; } </style> <div class="multicol"> <div style="height:226px; background:cyan;"></div> xxx<br> xxx<br> xxx<br> xxx<br> </div>
/css/css-inline/text-box-trim/text-box-trim-multicol-012-ref.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .multicol { columns: 3; column-fill: auto; width: 640px; height: 400px; gap: 20px; font-family: Ahem; font-size: 50px; line-height: 100px; orphans: 1; widows: 1; background: yellow; } .up-half { position: relative; top: -25px; } </style> <div class="multicol"> <div style="height:226px; background:cyan;"></div> <div style="break-before:column;" class="up-half"> xxx<br> xxx<br> xxx<br> xxx<br> </div> </div>