1
0
Fork 0
firefox/testing/web-platform/tests/css/css-ruby/pseudo-first-line.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

15 lines
446 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-ruby/#placement">
<link rel="help" href="https://drafts.csswg.org/css-pseudo/#first-line-styling">
<link rel="match" href="pseudo-first-line-ref.html">
<style>
div::first-line {
ruby-position: under;
color: orange;
}
ruby::first-line, rt::first-line {
color: red;
}
</style>
<div>foo <ruby>base<rt>annotation</rt></ruby><br>
bar <ruby>base<rt>annotation</rt></ruby></div>