Re: [webcomponents] Changes to Dispatching Events (#274)

> ...is how the specifications should work as well.

The list only sets default value, so your JS should work with the current spec with this PR. The target participates in tree, so it goes to calculate event path, and the event path calculation algorithm outputs a scoped list if the scoped flag is set.

> we want `<img>` to only dispatch scoped events, we should write the specification for `<img>` such

I'm lost what you are suggesting, sorry, can you explain? I searched for, for instance, where WHAT WG spec mentions `scroll` event, found that it says "it's defined in CSS OM", and CSS OM does not define that, so it looks like it's not defined anywhere. You're not suggesting Shadow DOM spec should have all such event firing definitions, right?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/pull/274#issuecomment-119990889

Received on Thursday, 9 July 2015 14:07:36 UTC