W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

setting unsigned long attributes

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 14 Jul 2009 02:42:01 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: public-webapps@w3.org
Message-ID: <Pine.LNX.4.62.0907140132530.9397@hixie.dreamhostps.com>

The rules for setting unsigned long attributes are unintuitive.

Tests show inconsistent behavior in UAs:

   http://www.hixie.ch/tests/adhoc/dom/webidl/attributes/001.html
   http://www.hixie.ch/tests/adhoc/dom/webidl/attributes/002.html
   http://www.hixie.ch/tests/adhoc/dom/webidl/attributes/003.html

I think we should make out-of-range values clamp to 0 or the maximum 
value allowed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 14 July 2009 02:42:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:32 GMT