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: Ian Hickson <ianh@netscape.com>
Date: Sun, 8 Oct 2000 10:28:47 -0700 (Pacific Daylight Time)
To: Bjoern Hoehrmann <derhoermi@gmx.net>
cc: www-style@w3.org
Message-ID: <Pine.WNT.4.21.0010081027280.872-100000@HIXIE.netscape.com>
On Sun, 8 Oct 2000, Bjoern Hoehrmann wrote:

> * "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
> }
> 
> ?

Because when you actually do give focus to a button, there are both
outlines. Try playing around with the buttons of the taskbar properties
dialog box, for example, if you are on Windows.

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Sunday, 8 October 2000 13:30:03 GMT

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