setting unsigned long attributes

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 UTC