W3C home > Mailing lists > Public > www-style@w3.org > August 1997

Re: CSS vs. transitional markup [was: No Subject]

From: David Perrell <davidp@earthlink.net>
Date: Fri, 1 Aug 1997 15:35:08 -0700
Message-Id: <199708012241.PAA09891@iceland.it.earthlink.net>
To: "Douglas Rand" <drand@sgi.com>
Cc: <www-style@w3.org>, "Todd Fahrner" <fahrner@pobox.com>
Douglas Rand wrote:
> In our browser,  the FONT declarations would override the parent. 
CSS1
> decls for the FONT tag itself would first be honored,  then the
> attributes.  I treat attributes in essentially the same fashion as a
> STYLE attribute.
> 
> So my view is that indeed the inline attributes of the FONT should
> override the parent.  For my own implementation it also means that
the
> style object associated with FONT and any children's style object
> inheriting cannot be cached.  Ah well.

You are not in accordance with the spec. From section 3.2, Cascading
Order:
---------------------
The UA may choose to honor other stylistic HTML attributes, for example
'ALIGN'. If so, these attributes are translated to the corresponding
CSS rules with specificity equal to 1. The rules are assumed to be at
the start of the author style sheet and may be overridden by subsequent
style sheet rules. In a transition phase, this policy will make it
easier for stylistic attributes to coexist with style sheets.
---------------------

Key sentence: "The rules are assumed to be at the start of the author
style sheet and may be overridden by subsequent style sheet rules."
IE3.02 is handling inline HTML properties correctly.

David Perrell
Received on Friday, 1 August 1997 18:41:26 GMT

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