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

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