- From: Mason Freed <notifications@github.com>
- Date: Mon, 29 Jan 2024 11:06:27 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1246/review/1849553664@github.com>
@mfreed7 commented on this pull request.
> + <li><p>Let <var>currentShadowRoot</var> be <var>element</var>'s
+ <a for=Element>shadow root</a>.
+
+ <li><p>If one of the following is true:
+
+ <ul>
+ <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>declarative</a> is false,
+
+ <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>mode</a> does not match
+ <var>mode</var>,
+
+ <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>delegates focus</a> does
+ not match <var>delegatesFocus</var>,
+
+ <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>slot assignment</a> does
+ not match <var>slotAssignment</var>,
Done.
> @@ -6958,8 +6960,31 @@ a boolean <var>delegatesFocus</var>, and a boolean <var>slotAssignment</var>:
<p>If <var>element</var> is a <a for=Element>shadow host</a>, then:
<ol>
- <li><p>If <var>element</var>'s <a for=Element>shadow root</a>'s <a for=ShadowRoot>declarative</a>
- is false, then <a>throw</a> an "{{NotSupportedError!!exception}}" {{DOMException}}.
+ <li><p>Let <var>currentShadowRoot</var> be <var>element</var>'s
+ <a for=Element>shadow root</a>.
+
+ <li><p>If one of the following is true:
I *think* I addressed this comment, but let me know if I got something wrong.
> + <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>mode</a> does not match
+ <var>mode</var>,
+
+ <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>delegates focus</a> does
+ not match <var>delegatesFocus</var>,
+
+ <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>slot assignment</a> does
+ not match <var>slotAssignment</var>,
+
+ <li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>clonable</a> does
+ not match <var>clonable</var>,
+ </ul>
+
+ <p>then <a>throw</a> a "{{NotSupportedError!!exception}}" {{DOMException}}.
+
+ <p class=note>Any new parameters added to <a>attach a shadow root</a> should be
Done. LMK if you like the wording.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1246#discussion_r1470064173
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1246/review/1849553664@github.com>
Received on Monday, 29 January 2024 19:06:34 UTC