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

So here's a very basic example for hit testing:
```
div ---- ShadowRoot
 + "hi"    + "some text"
               + slot
```

Let's say we invoked `elementFromPoint` on `ShadowRoot` with points right above "hi". In that case, I would expect the slot to be the result. Consider `mousemove` event on "hi". The first event to receive the event is the slot, not the shadow host.

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

Received on Friday, 21 September 2018 03:26:08 UTC