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

@annevk commented on this pull request.



> @@ -2195,6 +2195,10 @@ steps:</p>
  <li><p>If the <i>open flag</i> is set and <var>shadow</var>'s <a for=ShadowRoot>mode</a> is
  <em>not</em> "<code>open</code>", then return null.</p></li>
 
+ <li><p>If the <var>shadow</var>'s <a for=ShadowRoot>slot assignment</a> is set to "<code>manual</code>",
+ return the associated slot in <var>shadow</var>'s tree whose <a>manuallyAssignedNodes</a> includes

You want to change this to be more similar to the next step in terms of wording. Although I suppose you can leave out "first" and "tree order" since there's guaranteed to be a single slot if I understand it correctly.

> @@ -5731,6 +5737,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>auto</code>"), whose default value is "<code>auto</code>".</p>

I don't think we have to state a default/initial value as it's always given. This is also a problem with delegates focus.

-- 
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/860#pullrequestreview-414362539

Received on Tuesday, 19 May 2020 11:48:32 UTC