Add MathML reftests for lspace/rspace in dir=rtl (bug 534963). r=karlt
authorFrédéric Wang <fred.wang@free.fr>
Wed, 21 Dec 2011 17:21:59 -0500
changeset 83220 80ecebafe90b32e2f433730988a5665c2475efd2
parent 83219 4a7965d14389aa0700752708cfdb581a8095884f
child 83221 e8809bd36bb0a7a87971964f36f4c7c3a760b64d
push id4310
push userbzbarsky@mozilla.com
push dateWed, 21 Dec 2011 22:22:29 +0000
treeherdermozilla-inbound@15b3fb3e6f17 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs534963
milestone12.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Add MathML reftests for lspace/rspace in dir=rtl (bug 534963). r=karlt
layout/reftests/mathml/dir-7-ref.html
layout/reftests/mathml/dir-7.html
layout/reftests/mathml/dir-8-ref.html
layout/reftests/mathml/dir-8.html
layout/reftests/mathml/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/mathml/dir-7-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+  <head><title>Test dir=rtl</title></head>
+  <body>
+
+    <p>
+      mo (lspace=1em rspace=2em):
+      <math>
+        <mtext>_</mtext><mo lspace="2em" rspace="1em">+</mo><mtext>_</mtext>
+      </math>
+    </p>
+
+    <p>
+      embellished mrow (lspace=1em rspace=2em):
+      <math>
+        <mtext>_</mtext>
+        <mrow><mo lspace="2em" rspace="1em">+</mo></mrow>
+        <mtext>_</mtext>
+      </math>
+    </p>
+
+    <p>
+      embellished munderover (lspace=1em rspace=2em):
+      <math>
+        <mtext>_</mtext>
+        <munderover>
+          <mo lspace="2em" rspace="1em">+</mo>
+          <mtext>|</mtext>
+          <mtext>|</mtext>
+        </munderover>
+        <mtext>_</mtext>
+      </math>
+    </p>
+
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/mathml/dir-7.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+  <head><title>Test dir=rtl</title></head>
+  <body>
+
+    <p>
+      mo (lspace=1em rspace=2em):
+      <math dir="rtl">
+        <mtext>_</mtext><mo lspace="1em" rspace="2em">+</mo><mtext>_</mtext>
+      </math>
+    </p>
+
+    <p>
+      embellished mrow (lspace=1em rspace=2em):
+      <math dir="rtl">
+        <mtext>_</mtext>
+        <mrow><mo lspace="1em" rspace="2em">+</mo></mrow>
+        <mtext>_</mtext>
+      </math>
+    </p>
+
+    <p>
+      embellished munderover (lspace=1em rspace=2em):
+      <math dir="rtl">
+        <mtext>_</mtext>
+        <munderover>
+          <mo lspace="1em" rspace="2em">+</mo>
+          <mtext>|</mtext>
+          <mtext>|</mtext>
+        </munderover>
+        <mtext>_</mtext>
+      </math>
+    </p>
+
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/mathml/dir-8-ref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+  <head><title>Test dir=rtl</title></head>
+  <body>
+     
+    <p>
+      embellished mfrac (lspace=1em rspace=2em):
+      <math
+        <mtext>_</mtext>
+        <mfrac>
+          <mo lspace="2em" rspace="1em">+</mo>
+          <mtext>|</mtext>
+        </mfrac>
+        <mtext>_</mtext>
+      </math>
+    </p>
+
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/mathml/dir-8.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+  <head><title>Test dir=rtl</title></head>
+  <body>
+
+    <p>
+      embellished mfrac (lspace=1em rspace=2em):
+      <math dir="rtl">
+        <mtext>_</mtext>
+        <mfrac>
+          <mo lspace="1em" rspace="2em">+</mo>
+          <mtext>|</mtext>
+        </mfrac>
+        <mtext>_</mtext>
+      </math>
+    </p>
+
+  </body>
+</html>
--- a/layout/reftests/mathml/reftest.list
+++ b/layout/reftests/mathml/reftest.list
@@ -1,14 +1,16 @@
 == dir-1.html dir-1-ref.html
 == dir-2.html dir-2-ref.html
 == dir-3.html dir-3-ref.html
 == dir-4.html dir-4-ref.html
 == dir-5.html dir-5-ref.html
 fails == dir-6.html dir-6-ref.html
+== dir-7.html dir-7-ref.html
+fails == dir-8.html dir-8-ref.html
 == dynamic-mi.xhtml dynamic-mi-ref.xhtml
 == mfenced-1.xhtml mfenced-1-ref.xhtml
 == mfenced-2a.xhtml mfenced-2-ref.xhtml
 == mfenced-2b.xhtml mfenced-2-ref.xhtml
 == mfenced-3a.xhtml mfenced-3-ref.xhtml
 == mfenced-3b.xhtml mfenced-3-ref.xhtml
 == mfenced-3c.xhtml mfenced-3-ref.xhtml
 == mfenced-3d.xhtml mfenced-3-ref.xhtml