Re: loadedmetadata and layout

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