Re: [w3c/webcomponents] Need "slotchange" event (#288)

@annevk : You can see the full implementation in http://trac.webkit.org/changeset/198115.  What I'm doing is scheduling a new task which fires an event.  e.g. when [inserting a node](https://dom.spec.whatwg.org/#concept-node-insert), I'd check if that node will affect the distributed node of any slot, and if it does, I schedule a new task which fires this event unless we've previously scheduled such a task on the same slot element in the same task (includes same micro task).  Since I'm queuing a new task, there is no micro-tasks involved.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/288#issuecomment-202765765

Received on Tuesday, 29 March 2016 07:50:29 UTC