W3C home > Mailing lists > Public > www-style@w3.org > May 2004

RE: [css3-selectors] :contains

From: Ernest Cline <ernestcline@mindspring.com>
Date: Sun, 30 May 2004 11:31:04 -0400
Message-ID: <410-22004503015314468@mindspring.com>
To: "Anne van Kesteren (fora)" <fora@annevankesteren.nl>, "W3C CSS List" <www-style@w3.org>

 From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
> These cases [of :contains() interacting with other style rules]
> could be extended with instances of ':hover', ':active', 
> ':focus' to make it more complex of course.

Actually, a rule that includes both :hover, :active, or :focus
along with :contains() should never select anything.

:contains() is explicitly limited to static media, while :hover
:active and :focus apply to interactive media.  While there
are some media that can be either, I fail to see how any
media can be viewed as being both static and interactive
at the same time.
Received on Sunday, 30 May 2004 11:31:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:13 UTC