W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] HTMLMediaElement.volume

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 2 Jun 2007 01:03:22 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706020102080.23576@dhalsim.dreamhost.com>
On Fri, 23 Mar 2007, Anne van Kesteren wrote:
>
> Wouldn't it be better if no INDEX_SIZE_ERR was raised but instead the 
> previous value was retained? For consistency with 
> CanvasRenderingContext2D.globalAlpha for instance. It's not really 
> important, but I think that some consistency between the various APIs 
> would be nice.

In general, actually, raising INDEX_SIZE_ERR is what the APIs do. So for 
consistency, volume is correct.

globalAlpha, though, is not. What do people think? Should we change the 
canvas globalAlpha attribute to raise an exception for out-of-range 
values? Any browser vendors have an opinion?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 1 June 2007 18:03:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC