1
0
Fork 0
firefox/testing/web-platform/tests/mathml/relations/css-styling/mathvariant-font-style-font-weight-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

44 lines
974 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>mathvariant attribute and font-style/font-weight (reference)</title>
<style>
.italic { font-style: italic; }
.bold { font-weight: bold; }
</style>
</head>
<body>
<p>This test passes if you see six lines of text (italic, italic, bold, bold, bold italic and bold italic) with the corresponding style applied:</p>
<p>
<math>
<mtext class="italic">italic</mtext>
</math>
</p>
<p>
<math>
<mtext class="italic">italic</mtext>
</math>
</p>
<p>
<math>
<mtext class="bold">bold</mtext>
</math>
</p>
<p>
<math>
<mtext class="bold">bold</mtext>
</math>
</p>
<p>
<math>
<mtext class="bold italic">bold italic</mtext>
</math>
</p>
<p>
<math>
<mtext class="bold italic">bold italic</mtext>
</math>
</p>
</body>
</html>