- From: Di Zhang <notifications@github.com>
- Date: Thu, 17 Oct 2024 11:06:29 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/issues/1274/2420202416@github.com>
> An inclusive descendant is an object or one of its [descendants](https://dom.spec.whatwg.org/#concept-tree-descendant). > An object A is called a descendant of an object B, if either A is a [child](https://dom.spec.whatwg.org/#concept-tree-child) of B or A is a [child](https://dom.spec.whatwg.org/#concept-tree-child) of an object C that is a [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) of B. vs > A shadow-including inclusive descendant is an object or one of its [shadow-including descendants](https://dom.spec.whatwg.org/#concept-shadow-including-descendant). > An object A is a shadow-including descendant of an object B, if A is a [descendant](https://dom.spec.whatwg.org/#concept-tree-descendant) of B, or A’s [root](https://dom.spec.whatwg.org/#concept-tree-root) is a [shadow root](https://dom.spec.whatwg.org/#concept-shadow-root) and A’s [root](https://dom.spec.whatwg.org/#concept-tree-root)’s [host](https://dom.spec.whatwg.org/#concept-documentfragment-host) is a [shadow-including inclusive descendant](https://dom.spec.whatwg.org/#concept-shadow-including-inclusive-descendant) of B. [spec source](https://dom.spec.whatwg.org/#concept-shadow-including-inclusive-ancestor) My understanding of the spec is that since the above _Node remove_ steps are for "inclusive descendants", they should be scoped to be within the tree scope and not cross shadow trees. I don't think the steps need to mention shadow host specific behavior. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1274#issuecomment-2420202416 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1274/2420202416@github.com>
Received on Thursday, 17 October 2024 18:06:33 UTC