[whatwg] Spellchecking proposal #2

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