W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

[whatwg] <input type="text" accept="">

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 31 May 2006 17:20:12 -0700
Message-ID: <20060601002012.GA20951@ridley.dbaron.org>
On Wednesday 2006-05-31 19:51 +0000, Ian Hickson wrote:
> 
> The Mozilla guys propose (in bug 339127) to make the accept="" attribute 
> on <input> elements also apply to types other than type=file, with the 
> same meaning as we currently have on <textarea>. Their particular use case 
> is to use this as a hook for showing or hiding the spell-check UI.
> 
> What do people think? Good idea? Bad idea?

This seems like a bad idea to me.

We might want to use the accept attribute in the future to indicate what
types of content can be sent, and thus what types of input the user
agent should allow.  Overloading that to get a boolean for whether
spellchecking should be enabled seems broken.

I'd rather see a new attribute for this.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20060531/47812c25/attachment.pgp>
Received on Wednesday, 31 May 2006 17:20:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC