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

So given 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). (

* 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 using your GitHub account

Received on Tuesday, 27 February 2018 21:34:45 UTC