W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: Shadow DOM: events that are stopped

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 7 Feb 2013 17:17:36 +0000
Message-ID: <CADnb78jh4AV0PH9bOZ_gnQG3VHVNXKer+gtm-XTKOwyzMg0dAw@mail.gmail.com>
To: Dimitri Glazkov <dglazkov@chromium.org>
Cc: WebApps WG <public-webapps@w3.org>
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".

Received on Thursday, 7 February 2013 17:18:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:58 UTC