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

[whatwg] Canvas spec issues

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 12 May 2007 18:46:20 +0200
Message-ID: <op.tr73jiiu64w2qv@annevk.oslo.opera.com>
On Sat, 12 May 2007 18:21:21 +0200, Darin Adler <darin at apple.com> wrote:
> If it's unsigned, it's ambiguous what behavior should be when an attempt  
> is made to set the value to a signed value via JavaScript. Should an  
> INDEX_SIZE_ERR exception be raised? Should the value be ignored?
>
> I think I ran into this problem with HTMLOptionsCollection length  
> property.

The idea is that this will eventually be clarified by some specification  
that defines common mappings from pseudo-IDL to ECMAScript. However, there  
hasn't been much progress on that. I believe INDEX_SIZE_ERR would be  
correct here, though.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 12 May 2007 09:46:20 UTC

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