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.
Created attachment 260378 [details]
Comment on attachment 260378 [details]
Clearing flags on attachment: 260378
Committed r189225: <http://trac.webkit.org/changeset/189225>
All reviewed patches have been landed. Closing bug.