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

Re: loadedmetadata and layout

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 31 Aug 2009 06:11:35 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0908310610110.6775@hixie.dreamhostps.com>
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.


> Does it even require pending updates to be flushed, or can that happen 
> lazily when someone requests layout data?

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

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 31 August 2009 06:09:41 UTC

This archive was generated by hypermail 2.3.1 : Friday, 10 October 2014 16:24:51 UTC