Re: [whatwg/dom] Add Imperative Slot API (#966)

@rniwa commented on this pull request.



> @@ -5729,6 +5755,9 @@ It is initially set to false.</p>
 <!-- If we ever change this, e.g., add a ShadowRoot object constructor, that would have serious
      consequences for innerHTML. -->
 
+<p><a for=/>Shadow roots</a> have an associated <dfn for=ShadowRoot>slot assignment</dfn>
+("<code>manual</code>" or "<code>name</code>").</p>

Yeah, since "manual" is an adjective (not a noun in the sense of a book of instructions), "named" would make it more consistent with it. I guess an alternative is to make "manual" a noun like "script" or "none".

I've also started to think that maybe we want to say "slotname" instead of just "name" since if we wanted to add, for example, the [ability to assign nodes based on element's local names](https://github.com/whatwg/html/issues/6051) then it would be regrettable to have "name" and then "elementname" / "localname".


-- 
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/966#discussion_r611140066

Received on Sunday, 11 April 2021 06:40:20 UTC