-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cssom-view] ShadowRoot should also have elementFromPoint and elementsFromPoint #5886
Comments
See #556 (comment) onward. |
The Shadow DOM spec used to declare that It seems that was since changed to a short page that basically just says:
I guess that was related to WICG/webcomponents#661 but I'm also very confused by where did that definition go. The only current spec mentioning |
We should also add |
Supporting shadow DOM content in |
Filed #10992 to cover this. |
https://drafts.csswg.org/cssom-view/#extensions-to-the-document-interface defines
elementFromPoint
andelementsFromPoint
methods onDocument
, but Chromium, Gecko and WebKit all have these members in theDocumentOrShadowRoot
mixin:https://chromium.googlesource.com/chromium/src/+/5aded22f34131a7d136f7fff2b6b28b8387ad961/third_party/blink/renderer/core/dom/document_or_shadow_root.idl
https://hg.mozilla.org/mozilla-central/file/a2507ffc9d4db5109a491d91f4c4c1e5a8dd0e2e/dom/webidl/DocumentOrShadowRoot.webidl
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/dom/DocumentOrShadowRoot.idl?rev=271743
The net effect is that they're on
ShadowRoot
, not justDocument
, but that no spec seems to capture this.cc @annevk @mfreed7 @rniwa
The text was updated successfully, but these errors were encountered: