Re: loadedmetadata and layout

On Thu, 6 Aug 2009, Simon Pieters wrote:
> For the sake of interop and predictability and usefulness for authors, 
> the spec should state that the UA must resize the video element in the 
> layout, if necessary, before firing the loadedmetadata event.

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".

Ian Hickson               U+1047E                )\._.,--....,'``.    fL       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 14 August 2009 01:00:55 UTC