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

> The nearest ancestor that's an element in the flat tree? Or something else? 

Let me clarify my intention:
- Basically, the nearest ancestor that's an element in the flat tree.
- However, it it doesn't have a Layout Box, e.g. `<slot>` elements, we should continue to traverse the flat tree up until it find an element which has a Layout Box.

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

Received on Friday, 16 March 2018 01:26:13 UTC