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

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 11 Jun 2006 18:29:39 +0200
Message-ID: <20060611182939.pizr3tc02p28gkww@webmail.annevankesteren.nl>
Quoting Alexey Feldgendler <alexey at feldgendler.ru>:
>>> One can also say that authors should not have explicit control   
>>> over whether hyperlinks are underlined or not.
>> The difference is that underlining is presentation, spell checking   
>> is not.  The functionality of a link cannot be changed with CSS,   
>> likewise spell checking shouldn't either.
> Enabling or disabling spell checking doesn't change the functionality
> of an input. It can still be used to submit arbitrary text to the
> server. But misspelled words in an input with spellchecking enabled are
> underlined with a wavy red line (and the underlining style could even
> be changed by CSS), and that's presentation.

And providing alternate suggestions, synonyms et cetera is too? Having  
some kind of "semantic sheets" would be cool I guess for these kind of  
things... I guess it looks like it would fit in CSS because the  
functionality is not strictly needed, but I'm unsure if it's really  
just presentation...

Anne van Kesteren
Received on Sunday, 11 June 2006 09:29:39 UTC

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