Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-overflow/line-clamp/continue-001.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Overflow: continue basic test</title> <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"> <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#continue"> <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/12667"> <link rel="match" href="reference/continue-001-ref.html"> <meta name="assert" content="Continue:collapse should cause excess content to be hidden, without inserting any ellipsis"> <style> .clamp { white-space: pre; continue: collapse; max-height: 3lh; } </style> <p>This test passes if there are 3 lines below, with the 3rd one ending with the digit 3. <div class="clamp">Line 1 Line 2 Line 3 Line 4 Line 5</div>
/css/css-overflow/line-clamp/reference/continue-001-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Overflow: test reference</title> <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"> <style> .clamp { white-space: pre; } </style> <p>This test passes if there are 3 lines below, with the 3rd one ending with the digit 3. <div class="clamp">Line 1 Line 2 Line 3</div>