Re: selector negation (was: Re: New version of the Selectors module of CSS3)

* "Ian Hickson" <ianh@netscape.com> wrote:
| > | But the input field accepts keyboard events too. Are you seriously
| > | saying
| > | that you think two elements at once have focus???
| >
| > Since there are two elements that accept keyboard events, yes, that
| > exactly
| > what I think.
|
| That goes against the behaviour of every UI I know of. For instance, on
| Windows, OK buttons don't have the dotted focus rectangle when a field is
| focussed (they have a black outline instead). On Mac, the ok-button
| equivalents have a thick outline, but it is not in the highlight colour,
| as fields do when they have focus.

What makes you think that the UI hasn't a stylesheet like:

:focus {
  border: 1px silver dotted
}

input[type=submit]:focus {
  border: 2px black solid
}

?
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://www.websitedev.de/
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote +{i}
--- Only connect! That was the whole of the sermon. -- E. M. Forster ---

Received on Sunday, 8 October 2000 06:54:28 UTC