W3C home > Mailing lists > Public > www-style@w3.org > September 2016

Re: [selectors4] feedback

From: G. A. Light U1365222 <U1365222@unimail.hud.ac.uk>
Date: Thu, 01 Sep 2016 02:30:46 +0000
Message-ID: <AM4PR0101MB160240A303C50D64688D3FE28CE20@AM4PR0101MB1602.eurprd01.prod.exchangelabs.com>
To: www-style@w3.org, www-style@w3.org
?  What if there is another rule:


?  li:nodisplay > a[href="bad link"] { display:inline; }


That depends on the order that the CSS rules are applied and whether or not !important is used.

You get the same contradiction with existing CSS like:

a { display:block; }
a[href="bad link"] { display:none; }
Received on Tuesday, 6 September 2016 17:09:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:04 UTC