W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

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

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Fri, 22 Jan 2021 14:03:46 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-792029796-1611324225-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:25 UTC