W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [CSSOM] Revisiting transforms and getBoundingClientRect()

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 08 Sep 2011 13:26:23 -0400
Message-ID: <4E68FABF.1050105@mit.edu>
To: www-style@w3.org
On 9/8/11 1:03 PM, Erik Arvidsson wrote:
> On Wed, Sep 7, 2011 at 22:34, Robert O'Callahan<robert@ocallahan.org>  wrote:
>> It would be difficult to expose a synchronous "onlayout" event to Web
>> content safely, and it would be pointless to make it asynchronous.
>
> I don't think it would be pointless to have an async event that would
> be dispatched when we know that the layout is non dirty at some point
> before the next paint. At this point getting the layout rects would be
> cheap.

This causes problems if the event handler then makes layout dirty, no?

-Boris
Received on Thursday, 8 September 2011 17:26:51 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:03 UTC