- From: Mason Freed <notifications@github.com>
- Date: Fri, 26 Jan 2024 17:34:30 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1246/review/1846775317@github.com>
@mfreed7 commented on this pull request.
> @@ -6958,8 +6960,14 @@ 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>existing root</var> be <var>element</var>'s <a for=Element>shadow root</a>.
Done.
> @@ -6958,8 +6960,14 @@ 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>existing root</var> be <var>element</var>'s <a for=Element>shadow root</a>.
+
+ <li><p>If <var>existing root</var>'s <a for=ShadowRoot>declarative</a>
+ is false, or <var>existing root</var>'s <a for=ShadowRoot>mode</a> does not match
+ <var>mode</var>, or <var>existing root</var>'s <a for=ShadowRoot>delegates focus</a> does
+ not match <var>delegatesFocus</var>, or <var>existing root</var>'s
+ <a for=ShadowRoot>slot assignment</a> does not match <var>slotAssignment</var>,
+ then <a>throw</a> a "{{NotSupportedError!!exception}}" {{DOMException}}.
Done.
> @@ -4502,6 +4502,8 @@ dom-Range-extractContents, dom-Range-cloneContents -->
<a for=ShadowRoot>clonable</a> is true:
<ol>
+ <li><p>Assert: <var>copy</var> is not a <span>shadow host</span>.
Done.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1246#discussion_r1468271553
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1246/review/1846775317@github.com>
Received on Saturday, 27 January 2024 01:34:36 UTC