- From: Camdyn Rasque <notifications@github.com>
- Date: Mon, 29 Aug 2022 10:14:02 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 29 August 2022 17:14:14 UTC
@Danny-Engelman the ShadowRoot [inherits from DocumentFragment](https://dom.spec.whatwg.org/#interface-shadowroot) not from Element or Document, so ShadowRoot does not have methods like [getElementsByClassName](https://dom.spec.whatwg.org/#ref-for-dom-document-getelementsbyclassname%E2%91%A0) and [getElementsByTagName](https://dom.spec.whatwg.org/#ref-for-dom-document-getelementsbytagname%E2%91%A0). Document and DocumentFragment both inherit from Node, but do not share all methods. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/964#issuecomment-1230596385 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/964/1230596385@github.com>
Received on Monday, 29 August 2022 17:14:14 UTC