[Webkit-unassigned] [Bug 103502] New: Node::compareDocumentPosition returns wrong value for a node in the different shadow tree.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 28 03:59:37 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103502
Summary: Node::compareDocumentPosition returns wrong value for
a node in the different shadow tree.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hayato at chromium.org
CC: webcomponents-bugzilla at chromium.org
According to the spec (http://dom.spec.whatwg.org/#dom-node-comparedocumentposition), if two nodes are not in the same tree, we should return DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC.
But the current implementation mays not return that for nodes which are in different shadow trees.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list