W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] HTMLMediaElement: pixelratio, unsigned int, timeupdate

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 17 Nov 2008 01:11:58 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0811170025050.1237@hixie.dreamhostps.com>
On Sun, 2 Nov 2008, Philip J?genstedt wrote:
>
> http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#dom-source-pixelratio 
> How should a pixelratio <= 0.0 be treated? I would suggest that the DOM 
> attribute actually return the negative value but that it is explicitly 
> ignored in step 5 of 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#pick-a-media-resource

Done.


> What should be done if a reflected unsigned integer DOM attribute is set 
> to a negative number? INDEX_SIZE_ERR, ignored or something else? I'm 
> quite sure it's well defined, just not in 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#reflect

This is a WebIDL issue.


> In the section about cue ranges (can't seem to find an #anchor nearby): 
> "If the time was reached through the usual monotonic increase of the 
> current playback position during normal playback, the user agent must 
> then queue a task to fire a simple event called timeupdate at the 
> element."
> 
> How often should the timeupdate event be fired? Without a requirement 
> for this, anything from every ms to never would seem to be acceptable. I 
> agree with Eric Carlson and Jonas Sickling that this event isn't 
> particularly useful and would rather see it removed from the spec.

See my mail earlier today for arguments for keeping the event; I've 
clarified the timing though.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 16 November 2008 17:11:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC