[whatwg] Web Forms attributes: minlength / autocomplete
Kristof Zelechovski
giecrilj at stegny.2a.pl
Thu Jun 7 02:41:50 PDT 2007
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 at 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.
More information about the whatwg
mailing list