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

30 lines
759 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>
<p>PASS if the first line or letter is green.</p>
<ol>
<li>
<div style="display: inline math" class="firstline">
<span>Hello,</span><br/>World!
</div>
</li>
<li>
<div style="display: inline math" class="firstletter">
<span>H</span>ello, World!
</div>
</li>
<li>
<div style="display: block math" class="firstline">
<span>Hello,</span><br/>World!
</div>
</li>
<li>
<div style="display: block math" class="firstletter">
<span>H</span>ello, World!
</div>
</li>
</ol>