[whatwg] [wf2] repeat-min and max

Anne van Kesteren fora at annevankesteren.nl
Fri Apr 7 07:25:13 PDT 2006


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/>




More information about the whatwg mailing list