- From: Mason Freed <notifications@github.com>
- Date: Wed, 14 Feb 2024 16:54:56 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1246/review/1881561660@github.com>
@mfreed7 commented on this pull request. > @@ -6958,8 +6960,20 @@ 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: + + <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>, or Fixed. I removed the `, or` because I couldn't find other examples. For example, https://dom.spec.whatwg.org/#retarget just has the bullet list of options. LMK if that's the wrong conclusion to reach. > @@ -6958,8 +6960,20 @@ 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 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 <a for=Element>shadow host</a>. Want me to change something? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1246#discussion_r1490237721 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1246/review/1881561660@github.com>
Received on Thursday, 15 February 2024 00:55:02 UTC