[whatwg] [wf2] repeat-min and max

Anne van Kesteren fora at annevankesteren.nl
Fri Apr 7 04:38:28 PDT 2006


Quoting Henri Sivonen <hsivonen at iki.fi>:
> I hit the counterpart issue with repeat-max at:
> http://webforms2.testsuite.org/repetition/attributes/repeat-max/001.htm

Opera passes that testcase fwiw.


> The test case is wrong according to the current working draft,  
> because the value of repeat-max is '0' in the test case and only  
> positive integers are allowed values (and other values are ignored).

Why is 0 not a positive integer? Don't you have positive and negative 0's?


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

...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list