- From: Ryosuke Niwa <notifications@github.com>
- Date: Thu, 17 Sep 2015 03:20:47 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 17 September 2015 10:21:26 UTC
It doesn't. Allowing nested slots would not cause a single event to be dispatched on siblings of a single parent node. For example, let us examine the following very simple shadow tree: ```html <slot id=s1 name=foo> <span id=s2> <slot id=s3 name=bar></slot> </span> </slot> ``` If an event were to fire at a node assigned to `s1`, then it'll just propagate up to the shadow root in the shadow tree, and goes to the shadow host. Nothing special about that. If an event fires at a node assigned to `s3`, it would similarly propagate to `s2`, `s1`, and then to `s1`'s parent. None of the nodes assigned to `s1` comes into play in that scenario. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/321#issuecomment-141037088
Received on Thursday, 17 September 2015 10:21:26 UTC