W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

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

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Feb 2018 21:34:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-369034051-1519767276-sysbot+gh@w3.org>
So given https://github.com/w3c/webcomponents/issues/735#issuecomment-366140953 it appears that chromium and gecko are moving towards what WebKit implemented. Is that right @rakina @smaug---- ?

It seems the spec needs to cover at least these things, in addition to the above:

* `elementFromPoint` and `elementsFromPoint` on DocumentOrShadowRoot instead of Document
* `elementsFromPoint` should not include the same element twice (could happen with generated content). (https://github.com/w3c/webcomponents/issues/735)

* https://github.com/w3c/webcomponents/issues/736 seems to be the same as:

> But none of this is clear because either specification really says anything about in which tree the node is found (e.g. composed tree versus flat tree; probably the latter) and when & where the retargeting happens.

Where is flat tree defined?

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/556#issuecomment-369034051 using your GitHub account
Received on Tuesday, 27 February 2018 21:34:45 UTC

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