1
0
Fork 0
firefox/testing/web-platform/tests/css/css-overflow/line-clamp/line-clamp-026.tentative.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

24 lines
1.3 KiB
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Overflow: ruby annotations after the clamp point are not rendered</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-026-ref.html">
<meta name="assert" content="Ruby annotations are part of a line box's content, and therefore must not be rendered if the line box wouldn't be">
<style>
.clamp {
line-clamp: 3;
font: 16px / 32px serif;
white-space: pre-wrap;
}
.ruby-under ruby {
ruby-position: under;
}
</style>
<div class="clamp"><ruby><rt>いち</ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby>
<span class="ruby-under"><ruby><rt></ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby></span>
<ruby><rt><ruby>さん<rt>san</ruby></ruby><ruby><rt><ruby>ぎょう<rt>gyou</ruby></ruby><ruby><rt><ruby><rt>me</ruby></ruby>
<ruby><rt>よん</ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby>
<span class="ruby-under"><ruby><rt></ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby></span>
<ruby><rt><ruby>ろく<rt>roku</ruby></ruby><ruby><rt><ruby>ぎょう<rt>gyou</ruby></ruby><ruby><rt><ruby><rt>me</ruby></ruby></div>