Adding test.
authorbzbarsky@mit.edu
Tue, 18 Dec 2007 08:23:57 -0800
changeset 9413 f1bf9d27ee79
parent 9412 5842a5da6dae
child 9414 cd0b8295a8db
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9b3pre
Adding test.
layout/reftests/bugs/348049-1-ref.xhtml
layout/reftests/bugs/348049-1.xhtml
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/348049-1-ref.xhtml
@@ -0,0 +1,7 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <body>
+    <div>
+      <td>PASS</td>
+    </div>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/348049-1.xhtml
@@ -0,0 +1,24 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:html="http://www.w3.org/1999/xhtml"
+      class="reftest-wait">
+  <head>
+    <bindings xmlns="http://www.mozilla.org/xbl">
+      <binding id="td">
+        <content>
+          <html:td><children/></html:td>
+        </content>
+      </binding>
+    </bindings>
+    <script>
+      function f1() {
+        document.getElementById("outer")
+                .appendChild(document.createTextNode("PASS"));
+        document.documentElement.className = "";
+      }
+    </script>
+  </head>
+  <body onload="f1();">
+    <div id="outer" style="-moz-binding: url(#td)"/>
+  </body>
+
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -187,16 +187,17 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") ==
 == 345267-1c.html 345267-1-ref.html
 == 345267-1d.html 345267-1-ref.html
 == 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
 == 347912-1.html 347912-1-ref.html
+== 348049-1.xhtml 348049-1-ref.xhtml
 == 348516-1.html 348516-1-ref.html
 == 348516-2.html 348516-2-ref.html
 != 348516-2.html 348516-2-notref.html
 != 348516-3.html 348516-3-notref.html
 == 348809-1a.html 348809-1-ref.html
 == 348809-1b.html 348809-1-ref.html
 == 348809-1c.html 348809-1-ref.html
 == 348809-1d.html 348809-1-ref.html