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

[whatwg] [wf2] repeat-min and max

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 07 Apr 2006 16:25:13 +0200
Message-ID: <20060407162513.3bxpr7hzcn40gkc8@webmail.annevankesteren.nl>
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

...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Friday, 7 April 2006 07:25:13 UTC

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