W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] Web Forms attributes: minlength / autocomplete

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Thu, 7 Jun 2007 11:41:50 +0200
Message-ID: <001301c7a8e8$12dbc420$1a01080a@POCZTOWIEC>
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

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