Re: [csswg-drafts] [cssom-view] elementFromPoint, elementsFromPoint, and caretPositionFromPoint should not return an element inside a shadow tree (#556)

@rniwa What else do you think is missing from https://github.com/w3c/csswg-drafts/issues/556#issuecomment-434034827?

For the shadow handling part, we can do something like the [retarget](https://dom.spec.whatwg.org/#retarget) algorithm, but working with flat tree instead. So while the node's root is a shadow root and node is not a flat-tree descendant of the context object, we set the node as its shadow host. (I don't know where flat-tree is defined in the specs though, cc @hayatoito )

-- 
GitHub Notification of comment by rakina
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/556#issuecomment-457518494 using your GitHub account

Received on Friday, 25 January 2019 09:55:15 UTC