[whatwg] Web Forms attributes: minlength / autocomplete

A pattern with exponential matching time can be used to lock the viewer's
browser, potentially making her lose her input in other controls and other
windows; that means the pattern attribute must be disabled for restricted
sites.
Chris

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Thomas Broyer
Sent: Wednesday, June 06, 2007 4:18 PM
To: whatwg at whatwg.org
Subject: Re: [whatwg] Web Forms attributes: minlength / autocomplete


Re required, see above.
maxlength was already in HTML4, so (i guess) it's kept merely for
backwards compatibility, but is actually equivalent to a
pattern=".{,N}" where N is the maxlength value.
minlength doesn't exist, and given that you can achieve the same
effect using a pattern (see above), there's no real reason to
introduce yet another attribute.

Received on Thursday, 7 June 2007 02:41:50 UTC