W3C home > Mailing lists > Public > www-style@w3.org > February 1999

Re: Specificity of STYLE attribute

From: Chris Lilley <chris@w3.org>
Date: Tue, 09 Feb 1999 00:17:43 +0100
Message-ID: <36BF7097.7BF85FE4@w3.org>
To: "L. David Baron" <dbaron@fas.harvard.edu>
CC: www-style@w3.org


"L. David Baron" wrote:
> 
> Chris Lilley <chris@w3.org> wrote:
> > We specifically want a !important user stylesheet to be able to blow
> > away finely granular styling that the document author set up.
> 
> Sorry.  I didn't quite say what I meant.  What I meant was that rules
> in a STYLE attribute always win over other rules of their own weight
> and origin (i.e., author non-important or author important).  That is,
> their specificity is always highest, but they can still lose because of
> weight and origin.   All that I want to change is their specificity.

Ah, I understand.

--
Chris
Received on Monday, 8 February 1999 18:14:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT