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

[whatwg] [wf2] repeat-min and max

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 7 Apr 2006 00:11:55 +0300
Message-ID: <4F5A771A-C768-4174-A0F0-FCD0BE0595F5@iki.fi>
Section 3.4.

"The repeat-min attribute specifies the number of repetition blocks  
that the remove button type will ensure are present each time a block  
is removed. Its value must be a positive integer (one or more digits  
0-9 interpreted as a base ten number). If the attribute is omitted or  
if it has an invalid value then it is treated as if its value was zero."

Is zero intentionally excluded from the permissible values? Wouldn't  
it be more natural to spec the integer to be non-negative?

"These two attributes have no effect on the repetition model when  
present on elements that do not have a repeat  attribute with the  
value set to template."

Is it conforming for these attributes to appear on elements that do  
not have the repeat attribute (with any value; assuming that  
occurrence with repeat set to an integer is conforming)?

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 6 April 2006 14:11:55 UTC

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