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

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

From: Alexey Feldgendler <alexey@feldgendler.ru>
Date: Mon, 12 Jun 2006 00:12:05 +0700
Message-ID: <op.tazrefld1h6og4@localhost>
On Sun, 11 Jun 2006 23:29:39 +0700, Anne van Kesteren  
<fora at annevankesteren.nl> wrote:

>>>> 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'd say "behavior sheets", not "semantic sheets".

> 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...

Ok, it's not just presentation. It's about behavior, too. But I don't  
think that it's wrong to use CSS for behavior. In fact, IE already does  
so, and I think it's one of IE's strengths.


-- 
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
Received on Sunday, 11 June 2006 10:12:05 UTC

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