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

23 lines
733 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>MathML and ::first-line/::first-letter pseudo-elements</title>
<link rel="help" href="https://w3c.github.io/mathml-core/#legacy-mathml-style-attributes">
<link rel="match" href="first-line-first-letter-pseudo-elements-001-ref.html"/>
<meta name="assert" content="::first-line and ::first-letter do not apply to MathML elements.">
<style>
.firstline::first-line { background: red; }
.firstletter::first-letter { background: red; }
</style>
<p>PASS if there is no red.</p>
<ol>
<li>
<math>
<mtext class="firstline"><span>Hello,<br/>World!</span></mtext>
</math>
</li>
<li>
<math>
<mtext class="firstletter">Hello, World!</mtext>
</math>
</li>
</ol>