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
Chris Dumez
Comment 1 2015-09-01 13:03:48 PDT
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
Note You need to log in before you can comment on or make changes to this bug.