W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Dynamic pseudo class cascade

From: Staffan Mhln <staffan.mahlen@comhem.se>
Date: Mon, 18 Apr 2005 17:38:28 +0200
To: www-style@w3.org
Message-ID: <4263F094.32286.286A40@localhost>

Is it a good idea that the dynamic pseudo classes work the way
they do in the cascade versus non-dynamic rules?

If an UA wanted to create a default style like:
a:focus {background-color: blue; color: white}
and then the author writes the style rule:
a {color: blue}
things wont cascade very well. If the UA tries to avoid the problem 
by using non-CSS features, the author cannot override them.

Perhaps this would work better if the dynamic pseudo classes sort of
cascaded by themselves, that is, an author had to explicitly override
the dynamic pseudo classes to overide such user agent rules? If so it
might be possible to reduce the restriction on how they need to be
written in correct order as well.

Received on Monday, 18 April 2005 15:38:25 UTC

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