W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

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

From: Ryosuke Niwa via GitHub <sysbot+gh@w3.org>
Date: Sat, 01 Oct 2016 04:07:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-250891042-1475294854-sysbot+gh@w3.org>
Another edge case to consider is when the hit testing results in a 
`Text` node which is assigned to a slot.  I think we should return the
 slot when `elementFromPoint` is called from within the shadow tree 
and the shadow host when it's called outside the shadow tree.

GitHub Notification of comment by rniwa
Please view or discuss this issue at 
using your GitHub account
Received on Saturday, 1 October 2016 04:07:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC