[whatwg] [wf2] repeat-min and max

On Tue, 15 Aug 2006, Anne van Kesteren wrote:
>
> On Tue, 15 Aug 2006 02:40:53 -0700, Ian Hickson <ian at hixie.ch> wrote:
> > > 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).
> 
> So what does the browser have to do? Act as if the attribute wasn't specified?

The spec is very clear: "If the attribute is omitted or if it has an 
invalid value then it is treated as if its value was zero."

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 15 August 2006 12:33:15 UTC