Re: [CSSOM] Revisiting transforms and getBoundingClientRect()

On Thu, Sep 8, 2011 at 10:26, Boris Zbarsky <> wrote:
>> 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?

It would trigger another event. Yes, this might be hard for people to
grasp. Maybe it would be less error prone to do this using a one time
callback instead?


P.S. We should change the subject...

Received on Thursday, 8 September 2011 17:52:52 UTC