W3C home > Mailing lists > Public > public-html@w3.org > August 2009

Re: loadedmetadata and layout

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 31 Aug 2009 08:57:01 -0400
Message-ID: <4A9BC89D.9090403@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: public-html@w3.org
Ian Hickson wrote:
> On Mon, 24 Aug 2009, Boris Zbarsky wrote:
>>> This is already implicitly required. The loadedmetadata event is 
>>> queued from a task, therefore the event loop must spin at least once 
>>> for the event to be fired. The penultimate step of the event loop is 
>>> "If necessary, update the rendering or user interface of any Document 
>>> or browsing context to reflect the current state".
>> I'm not sure what this means in practice...  Does this require painting 
>> to happen, or just pending updates to be flushed?
> Just the latter.

OK, great.  That wasn't at all clear.  ;)

> There's no difference from a spec point of view.

There sort of is; you can detect the difference from user script in some 
cases (e.g. some algorithms are O(N) with one approach and O(N^2) with 
the other).

But I agree that in terms of code flow and final painted bitmap there 
should be no difference.

Received on Monday, 31 August 2009 12:57:45 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:55 UTC