[whatwg] [wf2] repeat-min and max

Ian Hickson ian at hixie.ch
Tue Aug 15 02:40:53 PDT 2006


On Fri, 7 Apr 2006, Anne van Kesteren wrote:
>
> Quoting Henri Sivonen <hsivonen at iki.fi>:
> > Even though repeat-max='0' does not make sense if the value  permanently
> > forbids repetition, wouldn't it make sense to allow non- negative integers
> > so that repetition could be dynamically forbidden  or allowed by changing
> > the attribute value?
> 
> It seems that Opera's current implementation allows for any kind of integer.
> Even non-sensical negative values are allowed:
> 
> http://webforms2.testsuite.org/repetition/attributes/repeat-max/001.htm
> http://webforms2.testsuite.org/repetition/attributes/repeat-max/003.htm
> http://webforms2.testsuite.org/repetition/attributes/repeat-max/004.htm

Negative numbers are definitely not allowed (since they don't consist of 
just the characters 0-9).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list