- From: Ryosuke Niwa via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Sep 2018 03:26:07 +0000
- To: public-css-archive@w3.org
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