[Webkit-unassigned] [Bug 16759] New: bug 16758 regressed us on the Acid3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 5 19:03:52 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16759

           Summary: bug 16758 regressed us on the Acid3
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


I think bug 16758 regressed us on the Acid3

We added a failure:
Test 10: FAIL (failed to handle regrafting correctly)

    function () {
      // test 10: walking outside a tree
      var doc = getTestDocument();
      var p = doc.createElement('p');
      doc.body.appendChild(p);
      var b = doc.body;
      var w = document.createTreeWalker(b, 0xFFFFFFFF, null, true);
      assert(w.currentNode == b, "basic use of TreeWalker failed:
currentNode");
      assert(w.lastChild() == p, "basic use of TreeWalker failed:
lastChild()");
      assert(w.previousNode() == b, "basic use of TreeWalker failed:
previousNode()");
      doc.documentElement.removeChild(b);
      assert(w.lastChild() == p, "TreeWalker failed after removing the current
node from the tree");
      assert(w.nextNode() == null, "failed to walk into the end of a subtree");
      doc.documentElement.appendChild(p);
      assert(w.previousNode() == doc.getElementsByTagName('title')[0], "failed
to handle regrafting correctly");
      p.appendChild(b);
      assert(w.nextNode() == p, "couldn't retrace steps");
      assert(w.nextNode() == b, "couldn't step back into root");
      assert(w.previousNode() == null, "root didn't retake its rootish
position");
      return 1;
    },


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list