[csswg-drafts] [cssom-view] ShadowRoot should also have elementFromPoint and elementsFromPoint (#5886)

foolip has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] ShadowRoot should also have elementFromPoint and elementsFromPoint ==
https://drafts.csswg.org/cssom-view/#extensions-to-the-document-interface defines `elementFromPoint` and `elementsFromPoint` methods on `Document`, but Chromium, Gecko and WebKit all have these members in the `DocumentOrShadowRoot` 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 just `Document`, but that no spec seems to capture this.

cc @annevk @mfreed7 @rniwa

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5886 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 22 January 2021 14:03:48 UTC