Add a "!=" reftest that will fail is msub and msup break (like in bug 345564)
authorjruderman@hmc.edu
Sun, 16 Mar 2008 22:34:37 -0700
changeset 13160 7ad62f69bb0fa5b02249de44b50a69f161abdd44
parent 13159 d73d3612f919493f8d696586e57e51d803a7df33
child 13161 dbb18fbf684967ece4ae0c94298c3ec908cbd5e9
push idunknown
push userunknown
push dateunknown
bugs345564
milestone1.9b5pre
Add a "!=" reftest that will fail is msub and msup break (like in bug 345564)
layout/reftests/bugs/345563-sub.xhtml
layout/reftests/bugs/345563-sup.xhtml
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/345563-sub.xhtml
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" >
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+
+</head>
+
+<body>
+
+<p>
+  <math xmlns="http://www.w3.org/1998/Math/MathML">
+    <msub>
+      <mi>x</mi>
+      <mn>2</mn>
+    </msub>
+  </math>
+</p>
+
+</body>
+
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/345563-sup.xhtml
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" >
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+
+</head>
+
+<body>
+
+<p>
+  <math xmlns="http://www.w3.org/1998/Math/MathML">
+    <msup>
+      <mi>x</mi>
+      <mn>2</mn>
+    </msup>
+  </math>
+</p>
+
+</body>
+
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -294,16 +294,17 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") ==
 == 339289-1.html 339289-1-ref.html
 == 341043-1a.html 341043-1-ref.html
 != 341043-1b.html 341043-1-ref.html
 == 343540-1.html 343540-1-ref.html
 == 345267-1a.html 345267-1-ref.html
 == 345267-1b.html 345267-1-ref.html
 == 345267-1c.html 345267-1-ref.html
 == 345267-1d.html 345267-1-ref.html
+!= 345563-sub.xhtml 345563-sup.xhtml 
 == 346774-1a.html 346774-1-ref.html
 == 346774-1b.html 346774-1-ref.html
 == 346774-1c.html 346774-1-ref.html
 == 347348-1.xhtml 347348-1-ref.xhtml
 skip-if(MOZ_WIDGET_TOOLKIT=="windows") == 347496-1.xhtml 347496-1-ref.xhtml # Bug 409150
 == 347912-1.html 347912-1-ref.html
 == 348049-1.xhtml 348049-1-ref.xhtml
 == 348516-1.html 348516-1-ref.html