W3C home > Mailing lists > Public > public-html-comments@w3.org > March 2010

Re: maxlength for file inputs?

From: T.J. Crowder <tj@crowdersoftware.com>
Date: Mon, 29 Mar 2010 23:15:28 +0100
Message-ID: <c95470a1003291515k3beea7cds8dc7e4940ed97e55@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: public-html-comments <public-html-comments@w3.org>
>
> A combination of some design problems and lack of compelling use cases.


UAs that don't support or enable JavaScript isn't a compelling use case?
This (limiting the size of uploads) comes up again and again in HTML
circles.

More so than maxlength="". :-)


Well, yes. :-) "If you spec it, they will (eventually) come." Corollary: If
you *don't* spec it, there's little chance. I'd say the odds of having UAs
support a simple maxlength sooner rather than later are a *lot* higher than
implementing an entirely new DOM interface. And again, the latter (though
very cool!) doesn't address UAs that don't support or enable JavaScript.

-- T.J. :-)


On 29 March 2010 23:07, Ian Hickson <ian@hixie.ch> wrote:

> On Mon, 29 Mar 2010, T.J. Crowder wrote:
> >
> > I'd be curious what those reasons were. It seems such a simple and
> > uncontroversial hint to the UA.
>
> A combination of some design problems and lack of compelling use cases.
>
>
> > Is the file API at all widely adopted?
>
> More so than maxlength="". :-)
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>
Received on Monday, 29 March 2010 22:16:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:01 GMT