1
0
Fork 0
firefox/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-004-ref.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

19 lines
533 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>MathML and ::first-line/::first-letter pseudo-elements (reference)</title>
<style>
.firstline > span { background: lime; }
.firstletter > span { background: lime; }
</style>
<ol>
<li>PASS if first line is green:
<math>
<mtext><span class="firstline"><span>Hello,</span><br/>World!</span></mtext>
</math>
</li>
<li>PASS if first letter is green:
<math>
<mtext><span class="firstletter"><span>H</span>ello, World!</span></mtext>
</math>
</li>
</ol>