W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css3-regions][cssom] Bubbling for the regionLayoutUpdate event

From: Alan Stearns <stearns@adobe.com>
Date: Sat, 9 Jun 2012 08:21:37 -0700
To: Andrei Bucur <abucur@adobe.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <CBF8B5A9.E5ED%stearns@adobe.com>
On 6/8/12 4:51 AM, "Andrei Bucur" <abucur@adobe.com> wrote:

>The Regions spec states that the regionLayoutUpdate event should be
>bubbling. When this event was dispatched on the region this was very easy
>to understand as they were DOM elements. Now, the NamedFlow object is the
>target, which is not clearly positioned
> in  the DOM hierarchy. How is the bubbling supposed to behave for this
>event? Should it be possible to listen for the event on the parent
>document and determine the NamedFlow from the event target?

Since you can determine the NamedFlow from the event target, it could be
useful in the case of multiple named flows to have a single listener on
the document. Would it be sufficient to add a line to the description of
this event saying that it bubbles up to the document?


Received on Saturday, 9 June 2012 15:25:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC