W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] [wf2] repeat-min and max

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 15 Aug 2006 09:40:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0608150940330.5340@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 15 August 2006 02:40:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC