WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
103502
Node::compareDocumentPosition returns wrong value for a node in the different shadow tree.
https://bugs.webkit.org/show_bug.cgi?id=103502
Summary
Node::compareDocumentPosition returns wrong value for a node in the different...
Hayato Ito
Reported
2012-11-28 04:01:51 PST
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.
Attachments
Fix Node::compareDocumentPosition for nodes in shadow tree.
(7.05 KB, patch)
2012-11-28 05:49 PST
,
Hayato Ito
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Hayato Ito
Comment 1
2012-11-28 05:49:46 PST
Created
attachment 176468
[details]
Fix Node::compareDocumentPosition for nodes in shadow tree.
WebKit Review Bot
Comment 2
2012-11-28 19:18:40 PST
Comment on
attachment 176468
[details]
Fix Node::compareDocumentPosition for nodes in shadow tree. Clearing flags on attachment: 176468 Committed
r136087
: <
http://trac.webkit.org/changeset/136087
>
WebKit Review Bot
Comment 3
2012-11-28 19:18:43 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug