- From: yuzhehan <notifications@github.com>
- Date: Thu, 31 Dec 2020 13:46:02 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 31 December 2020 21:46:14 UTC
@yuzhe-han commented on this pull request. > @@ -2667,8 +2672,16 @@ indicated in the <a for=/>remove</a> algorithm below. <li><p><a for=set>Remove</a> <var>node</var> from its <var>parent</var>'s <a for=tree>children</a>. - <li><p>If <var>node</var> is <a for=slottable>assigned</a>, then run <a>assign slottables</a> for - <var>node</var>'s <a>assigned slot</a>. + <li> + <p>If <var>node</var> is <a for=slottable>assigned</a>, then: + + <ol> + <li><p><p>If <var>parent</var>'s <a for=tree>root</a> is a <a for=/>shadow root</a> with its + <a for=tree>root</a>'s <a for=ShadowRoot>slot assignment</a> set to "<code>auto</code>", + then <a for=set>remove</a> <var>node</var> from its <a>assigned slot</a>'s <a>manually assigned nodes</a>. + + <li><p>Run <a>assign slottables</a> for <var>node</var>'s <a>assigned slot</a>. Thanks for catching that. I've updated the find-slottables algorithm to preserve the order of manually assigned nodes. -- 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#discussion_r550695524
Received on Thursday, 31 December 2020 21:46:14 UTC