- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 17 Apr 2024 22:23:22 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1279/review/2007866342@github.com>
@annevk commented on this pull request. > @@ -2252,6 +2252,10 @@ can be used to explore this matter in more detail. {{ProcessingInstruction}}, or {{Comment}}. <p>Objects that implement {{Text}} sometimes implement {{CDATASection}}. + + <p>Thus, every [=node=]'s [=primary interface=] is one of: {{Attr}}, {{CDATASection}}, {{Comment}}, + {{Document}}, {{DocumentFragment}}, {{DocumentType}}, {{Element}} or an inherited interface of it, ```suggestion {{Document}}, {{DocumentFragment}}, {{DocumentType}}, or {{Element}}; or an inherited interface of it: ``` > @@ -2252,6 +2252,10 @@ can be used to explore this matter in more detail. {{ProcessingInstruction}}, or {{Comment}}. <p>Objects that implement {{Text}} sometimes implement {{CDATASection}}. + + <p>Thus, every [=node=]'s [=primary interface=] is one of: {{Attr}}, {{CDATASection}}, {{Comment}}, + {{Document}}, {{DocumentFragment}}, {{DocumentType}}, {{Element}} or an inherited interface of it, Although I'm not sure how this is correct. Why is ProcessingInstruction an inherited interface and Comment is not? Also, why would ShadowRoot not be a primary interface? Isn't that the most derived? And I think both Text and CDATASection are primary interfaces as they are the most derived on the objects they occur on. Just when CDATASection is the primary interface, it's also an inherited interface of Text. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1279#pullrequestreview-2007866342 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1279/review/2007866342@github.com>
Received on Thursday, 18 April 2024 05:23:26 UTC