Re: [whatwg/dom] Shadow: Specify when `slotchange` fires (#447)

No. I don't know such a recent addition. A slotchange event should be dispatched in a respond to all distribution changes, basically (except for slot removal case, which we are discussing).
That should be our intention. That doesn't change, AFAIK.

For example, given:

```html
<my-el>
  <:shadow-root>
     <slot></slot>
  <:shadow-root>
  <div id=a></div>
  <div id=b></div>
</my-el>
```

`document.querySelector('a').remove()` triggers a slotchange on the slot.


-- 
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/issues/447#issuecomment-302978764

Received on Monday, 22 May 2017 01:33:35 UTC