Re: [whatwg/dom] Revamp the way DOM talks about nodes (#1004)

@domenic commented on this pull request.

Looks good!

> + <p>Objects that <a>implement</a> {{Node}} also implement an inherited interface: {{Document}},
+ {{DocumentType}}, {{DocumentFragment}}, {{Element}}, {{CharacterData}}, or {{Attr}}.
+
+ <p>Objects that implement {{DocumentFragment}} sometimes implement {{ShadowRoot}}.
+
+ <p>Objects that <a>implement</a> {{Element}} also typically implement an inherited interface, such
+ as {{HTMLAnchorElement}}.
+
+ <p>Objects that implement {{CharacterData}} also implement an inherited interface: {{Text}},
+ {{ProcessingInstruction}}, or {{Comment}}.
+
+ <p>Objects that implement {{Text}} sometimes implement {{CDATASection}}.
+</div>
+
+<p>For brevity, this specification refers to an object that <a>implements</a> {{Node}} and an
+inherited interface <var>NodeInterface</var>, as a <var>NodeInterface</var> <a for=/>node</a>.

Hmm maybe `<code><var>NodeInterface</var></code>`?

> +
+ <p>Objects that implement {{DocumentFragment}} sometimes implement {{ShadowRoot}}.
+
+ <p>Objects that <a>implement</a> {{Element}} also typically implement an inherited interface, such
+ as {{HTMLAnchorElement}}.
+
+ <p>Objects that implement {{CharacterData}} also implement an inherited interface: {{Text}},
+ {{ProcessingInstruction}}, or {{Comment}}.
+
+ <p>Objects that implement {{Text}} sometimes implement {{CDATASection}}.
+</div>
+
+<p>For brevity, this specification refers to an object that <a>implements</a> {{Node}} and an
+inherited interface <var>NodeInterface</var>, as a <var>NodeInterface</var> <a for=/>node</a>.
+
+<p>A <a>node tree</a> is constrained as follows, expressed as a relationship between an interface of

```suggestion
<p>A <a>node tree</a> is constrained as follows, expressed as a relationship between a
```

?

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

Received on Tuesday, 3 August 2021 15:12:38 UTC