W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

user-stylesheet-015 invalid because it assumes other rules not present at user level

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 19 Oct 2010 12:07:21 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101019190721.GA30022@pickering.dbaron.org>
These tests:
are invalid because they assume other rules are not present at the
user style sheet level.  (Technically a bunch of the other tests are
as well, but these are the only ones that actually fail as a

As recommended by CSS 2.1 (section 6.4), Gecko treats a number of
user preferences as user style sheet rules.  In particular, the
preference for active link colors is represented using the
equivalent of:
  :link:active, :visited:active { color: <preference> }

The test user-stylesheet-015 tests that a rule with selector
a:active in a user style sheet styles a link.  However, a:active has
lower specificity than the rule above, so it doesn't work.

If the rule's selector were a:link:active, a:visited:active it would
work for us.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 19 October 2010 19:07:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:21 UTC