- From: T.J. Crowder <tj@crowdersoftware.com>
- Date: Mon, 29 Mar 2010 22:07:23 +0100
- To: Ian Hickson <ian@hixie.ch>
- Cc: public-html-comments <public-html-comments@w3.org>
- Message-ID: <c95470a1003291407t25d05c1byaecb2b6eaa7802c0@mail.gmail.com>
I'd be curious what those reasons were. It seems such a simple and uncontroversial hint to the UA. Is the file API at all widely adopted? -- T.J. On 29 March 2010 21:21, Ian Hickson <ian@hixie.ch> wrote: > On Mon, 29 Mar 2010, T.J. Crowder wrote: > > > > HTML5 does many things to provide hints to UAs that help the UA validate > > form input (such as the > > accept<http://www.w3.org/TR/html5/forms.html#attr-input-accept > >attribute). > > Have you already considered allowing > > maxlength <http://www.w3.org/TR/html5/forms.html#attr-fe-maxlength> to > give > > a maximum file size hint for file inputs? (I can't imagine this is a new > > suggestion, but I also can't immediately see what it would have been > > considered and rejected as the attribute has no other meaning for a file > > upload, but it's not mentioned in the spec...) > > We actually had this a few years ago, but it ended up being dropped for > various reasons. You can now do it in JS, though, using the File API to > check the file size, if you really need to do this. > > -- > Ian Hickson U+1047E )\._.,--....,'``. fL > http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. > Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' >
Received on Monday, 29 March 2010 21:08:16 UTC