W3C home > Mailing lists > Public > www-style@w3.org > October 2000

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 8 Oct 2000 12:51:49 +0200
Message-ID: <00b201c03115$f18cbaa0$2dcbb43e@de>
To: "Ian Hickson" <ianh@netscape.com>
Cc: <www-style@w3.org>
* "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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT