summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/mi-mathvariant-2-ref.xhtml')
-rw-r--r--layout/reftests/mathml/mi-mathvariant-2-ref.xhtml17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml b/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml
new file mode 100644
index 0000000000..edee2a9b43
--- /dev/null
+++ b/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml
@@ -0,0 +1,17 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
+ <!-- infinity has no corresponding mathematical italic alphanumeric
+ character and so should not be rendered with italic style.
+ bug 413115.
+ -->
+ <mi mathvariant="normal">&#x221e;</mi>
+ <!-- PLANCK CONSTANT already has italic style, and shouldn't have
+ additional slant applied -->
+ <mi mathvariant="normal">&#x210e;</mi>
+ <!-- mathvariant on single-char mi (the mathvariant property should
+ override the default italicness)-->
+ <mi>&#x1d505;</mi>
+ </math>
+</body>
+</html>