W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2001

RE: !important

From: Jon Hanna <jon@spinsol.com>
Date: Tue, 10 Apr 2001 15:44:13 +0100
To: <w3c-wai-ig@w3.org>
Message-ID: <NDBBLCBLIMDOPKMOPHLHEEJDDBAA.jon@spinsol.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> In CSS1, it allows the author to override the user. It is 
> recommended in that
> spec that browsers provide a mechanism for turning off style 
> sheets (this is
> the work-around anyway).
> 
> In CSS2 the cascade order was changed - the following order 
> applies (winners
> first...):
> 
> User !important
> Author !important
> Author other styles
> User other styles
> Browser default
> 

The idea of allowing Author !important to override User !important
wasn't a bad one as such, it was just dependent on the rule not being
abused. Of course everything gets abused in this way.

Does anyone know which order are supported by which browsers in
current use?

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOtMcPYFpv9f1Mr0YEQI4OQCcD3CEbs2QRKuPve2WiunyIAvrFD4AoLYj
IT7Z3ObCDZ2pjNUzDOsSXSGD
=nQMP
-----END PGP SIGNATURE-----
Received on Tuesday, 10 April 2001 10:43:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:54 GMT