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

Re: [CSS 2.1] Proposed Rewording for Cascading Rules

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 18 Nov 2005 12:57:00 -0800
To: www-style@w3.org
Message-ID: <20051118205700.GA4526@ridley.dbaron.org>
On Friday 2005-11-18 15:33 -0500, Adam Kuehn wrote:
> Currently, implementations differ on how to treat the interaction of 
> style attributes and !important style declarations in style 
> sheets.  IE/Win and KHTML give precedence to the !important 
> declarations, while Gecko, Opera, and IE/Mac favor the 
> attribute.

The interaction of !important with style attributes is tested in
(the third test).

All of the browsers you mention pass that test, as the spec currently

Do you have a testcase demonstrating a difference in implementations?
(I also tried the example in your message in Gecko, and it was also
correct; the opposite of what you said.)

> The section of the spec dealing with this issue is ambiguous,

I agree that
is a bit unclear, but I don't think it needs to be nearly as verbose as
you propose.


L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Friday, 18 November 2005 20:57:17 UTC

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