Fixed a no-SVG test failure by removing a node that was affecting the test...
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2007 23:22:36 +0000 (23:22 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2007 23:22:36 +0000 (23:22 +0000)
        depending on whether SVG support was compiled in or not.

        * fast/xpath/namespace-vs-predicate.xhtml: Remove the r_00 node at the end of the test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23918 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/xpath/namespace-vs-predicate.xhtml

index f0f27a16d4bad37150875d3e618e816e2f4ffd0b..df3e7712db08e608532ededa38665636f39e1261 100644 (file)
@@ -1,3 +1,10 @@
+2007-07-01  Darin Adler  <darin@apple.com>
+
+        Fixed a no-SVG test failure by removing a node that was affecting the test results differently
+        depending on whether SVG support was compiled in or not.
+
+        * fast/xpath/namespace-vs-predicate.xhtml: Remove the r_00 node at the end of the test.
+
 2007-07-01  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Oliver.
 2007-07-01  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Oliver.
index b6babc07ae6d223a18116f53d2924b023399708d..02be107ecb241c674ea10da643f659d3a59693f7 100644 (file)
             document.getElementById("result").firstChild.nodeValue = "SUCCESS";
         else
             document.getElementById("result").firstChild.nodeValue = "FAILURE: " + result.snapshotLength + " node(s) matched - should be 1";
             document.getElementById("result").firstChild.nodeValue = "SUCCESS";
         else
             document.getElementById("result").firstChild.nodeValue = "FAILURE: " + result.snapshotLength + " node(s) matched - should be 1";
+
+        // Remove this node from the document so it doesn't make the DumpRenderTree output
+        // different when SVG is enabled and disabled.
+        document.getElementById("r_00").parentNode.removeChild(document.getElementById("r_00"));
     </script>
 
 </body>
     </script>
 
 </body>