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

Re: loadedmetadata and layout

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 14 Aug 2009 01:00:20 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0908140055410.6420@hixie.dreamhostps.com>
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
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 14 August 2009 01:00:55 UTC

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