Status: FAIL | Duration: 15ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-overflow/line-clamp/line-clamp-auto-034.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Overflow: `line-clamp: auto` clamp between IFCs</title> <link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com"> <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#line-clamp"> <link rel="match" href="reference/line-clamp-auto-034-ref.html"> <meta name="assert" content="With `line-clamp: auto`, there can be a clamp point between two IFCs. In that case, no line will have an ellipsis."> <style> .clamp { line-clamp: auto; max-height: 6lh; font: 16px / 32px serif; white-space: pre; padding: 0 4px; background-color: yellow; } .ifc { display: flow-root; background-color: orange; } .red { display: flow-root; background-color: red; } </style> <div class="clamp">Line 1 Line 2 Line 3 Line 4 <div class="ifc">Line 5 Line 6</div><div class="ifc red">Line 7 Line 8</div>Line 9</div>
/css/css-overflow/line-clamp/reference/line-clamp-auto-034-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Reference</title> <style> .clamp { display: flow-root; font: 16px / 32px serif; white-space: pre; padding: 0 4px; background-color: yellow; } .ifc { display: flow-root; background-color: orange; } </style> <div class="clamp">Line 1 Line 2 Line 3 Line 4 <div class="ifc">Line 5 Line 6</div></div>