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

[whatwg] Spellchecking proposal #2

From: Michel Fortin <michel.fortin@michelf.com>
Date: Fri, 23 Jun 2006 08:19:58 -0400
Message-ID: <2A47A266-30A1-4AE0-B7F5-7F009D7245C2@michelf.com>
Le 22 juin 2006 ? 12:04, Ian Hickson a ?crit :

> UAs should use the language of the element to determine what spelling
> and grammar rules to use. (Language information can come from the
> "lang" and "xml:lang" attributes, Content-Language HTTP headers, or
> other sources. q.v.)

Maybe having the possibility to set the lang attribute to a value  
meaning "not a language" would be enough to disable spellchecking  
when the content isn't a human language. And if you want to  
explicitly tell a field to use spellcheck you'd use any valid  
language code, or the empty string which currently mean unknown  
language. Would this make sense?


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
Received on Friday, 23 June 2006 05:19:58 UTC

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