Re: Shadow DOM: events that are stopped

On Thu, Feb 7, 2013 at 9:17 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Thu, Feb 7, 2013 at 5:02 PM, Dimitri Glazkov <dglazkov@chromium.org>
> wrote:
> > I think this is a nicer solution. Will we have defaults associated with
> some
> > types of events or is it completely up to the shadow tree author to
> decide
> > the fate of the events?
>
> You cannot associate defaults with event types, it's up to who fires
> the event. So it would be up to shadow tree developers and
> specifications that define events that can be dispatched within a
> shadow tree. So if we never want to "leak" load from e.g. <img>,
> <video>, etc. when used in shadow trees, specifications that dispatch
> load would have to set a "scoped to shadow tree flag".
>

Love it. Energize!

:DG<

Received on Thursday, 7 February 2013 18:12:36 UTC