summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mathvariant-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/mathvariant-3.html')
-rw-r--r--layout/reftests/mathml/mathvariant-3.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mathvariant-3.html b/layout/reftests/mathml/mathvariant-3.html
new file mode 100644
index 000000000..804bd7658
--- /dev/null
+++ b/layout/reftests/mathml/mathvariant-3.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test math-variant interaction with fontstyle and fontweight</title>
+ </head>
+ <body>
+ <math>
+ <mrow>
+ <mtext mathvariant="normal" fontweight="bold">A</mtext>
+ <mtext mathvariant="normal" fontstyle="italic">A</mtext>
+ </mrow>
+ </math>
+ <p>
+ <math>
+ <mi fontstyle="normal">A</mi>
+ </math>
+ </p>
+ <p>
+ <math>
+ <mi fontstyle="normal" fontweight="bold">A</mi>
+ </math>
+ </p>
+ <p>
+ <math>
+ <mi fontweight="bold">A</mi>
+ </math>
+ </p>
+ <p>
+ <math>
+ <mi fontweight="bold" fontstyle="italic">A</mi>
+ </math>
+ </p>
+ <p>
+ <math>
+ <mi fontweight="bold" style="font-style:normal">A</mi>
+ </math>
+ </p>
+ <p>
+ <math>
+ <mi fontstyle="normal" style="font-weight:bold">A</mi>
+ </math>
+ </p>
+ </body>
+ </html>
+