WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
148687
Range.insersectsNode(node) is supposed to return true if node.parent is null
https://bugs.webkit.org/show_bug.cgi?id=148687
Summary
Range.insersectsNode(node) is supposed to return true if node.parent is null
Chris Dumez
Reported
2015-09-01 12:56:22 PDT
Range.insersectsNode(node) is supposed to return true if node.parent is null:
https://dom.spec.whatwg.org/#dom-range-intersectsnode
(step 3) Currently, WebKit throws a NotFoundError, apparently to match Firefox's behavior. However, these days, Firefox complies with the spec and returns true here.
Attachments
Patch
(17.71 KB, patch)
2015-09-01 13:03 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2015-09-01 13:03:48 PDT
Created
attachment 260378
[details]
Patch
Chris Dumez
Comment 2
2015-09-01 13:46:53 PDT
Comment on
attachment 260378
[details]
Patch Clearing flags on attachment: 260378 Committed
r189225
: <
http://trac.webkit.org/changeset/189225
>
Chris Dumez
Comment 3
2015-09-01 13:46:58 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 4
2015-09-02 13:23:51 PDT
rdar://problem/22544381
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