summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/semantics-1.xhtml
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/mathml/semantics-1.xhtml
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/mathml/semantics-1.xhtml')
-rw-r--r--layout/reftests/mathml/semantics-1.xhtml97
1 files changed, 97 insertions, 0 deletions
diff --git a/layout/reftests/mathml/semantics-1.xhtml b/layout/reftests/mathml/semantics-1.xhtml
new file mode 100644
index 000000000..52dc05b89
--- /dev/null
+++ b/layout/reftests/mathml/semantics-1.xhtml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type"
+ content="application/xhtml+xml; charset=utf-8" />
+ <title>Various tests for semantics</title>
+</head>
+
+<body>
+<!-- displaystyle (bug 468059) -->
+<p><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
+ <semantics>
+ <munderover>
+ <mo movablelimits="true">□■□</mo>
+ <mtext>■□■□■□</mtext>
+ <mtext>■□■□■□</mtext>
+ </munderover>
+ </semantics>
+</math></p>
+
+<!-- embellished operator (bug 21479) -->
+<p><math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mover>
+ <mspace width="300px" height="10px" mathbackground="black"></mspace>
+ <semantics><mo>&#xaf;</mo></semantics>
+ </mover>
+</math></p>
+
+<!-- unwanted whitespace (bug 512418) -->
+<p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
+ <semantics>
+ <mrow>
+ <mrow>
+ <mo>lcm</mo>
+ <mo>(</mo>
+ <mi>a</mi>
+ <mo>,</mo>
+ <mi>b</mi>
+ <mo>)</mo>
+ </mrow>
+ <mo>=</mo>
+ <mfrac>
+ <mrow>
+ <mo>(</mo>
+ <mi>a</mi>
+ <mo>&#x2062;</mo>
+ <mi>b</mi>
+ <mo>)</mo>
+ </mrow>
+ <mrow>
+ <mo>gcd</mo>
+ <mo>(</mo>
+ <mi>a</mi>
+ <mo>,</mo>
+ <mi>b</mi>
+ <mo>)</mo>
+ </mrow>
+ </mfrac>
+ </mrow>
+ </semantics>
+</math>■□■□■□</p>
+
+<!-- maction and semantics (bug 523037) -->
+<p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
+ <maction actiontype="toggle" selection="3">
+ <mn>1</mn>
+ <mn>2</mn>
+ <semantics>
+ <mn>3</mn>
+ <annotation encoding="text">three</annotation>
+ </semantics>
+ <semantics>
+ <mn>4</mn>
+ <annotation encoding="text">four</annotation>
+ </semantics>
+ <mn>5</mn>
+ </maction>
+</math>■□■□■□</p>
+
+<!-- maction and semantics (bug 523045) -->
+<p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
+ <maction actiontype="toggle" selection="4">
+ <mn>1</mn>
+ <mn>2</mn>
+ <semantics>
+ <mn>3</mn>
+ <annotation encoding="text">three</annotation>
+ </semantics>
+ <semantics>
+ <mn>4</mn>
+ <annotation encoding="text">four</annotation>
+ </semantics>
+ <mn>5</mn>
+ </maction>
+</math>■□■□■□</p>
+</body>
+</html>