Re: [whatwg/dom] Editorial: explain the possible primary interfaces for nodes (PR #1279)

@domenic 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,

The suggested change seems incorrect, and then your further comment seems to be based on confusion about what the spec text would say after that incorrect change.

I'll rephrase the original in another way. Every node's primary interface is one of:

- Attr
- CDATASection
- Comment
- Document
- DocumentFragment
- DocumentType
- Element
- HTMLElement
- HTMLDivElement
- ...
- ProcessingInstruction
- ShadowRoot
- Text

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1279#discussion_r1571603587
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1279/review/2010350409@github.com>

Received on Friday, 19 April 2024 01:25:58 UTC