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

Re: Style sheet and Netscape

From: Sue Jordan <sue@css.nu>
Date: Tue, 4 Aug 1998 13:53:24 -0400 (EDT)
Message-ID: <35C749EE.D1201AA5@css.nu>
To: braden@endoframe.com
CC: "'Jan Roland Eriksson'" <rex@css.nu>, www-style@w3.org
Roland Eriksson wrote:

> > > > In your example, the properties set in the BODY rule shall
> > > > be inherited all the way into all parts of the document,
> > > > and with a higher priority, thus _overriding_ any FONT
> > > > markup found in the doc.
> >

Braden N. McDaniel wrote:
> > > Not so. If the attribute of FONT is recognized at all, it
> > would override the
> > > color specified for BODY. Inheritance is the *default*
> > behavior, when the
> > > color for an element is not specified. In this case, it
> > *is* specified.

>From the cite you provide, this statement is refuted. Here it is:

"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."

The salient point is that the <FONT> declaration (which is in conflict
with the style declaration), would be assumed to be at the start of the
author style sheet, and would therefore be overridden. 

Roland Eriksson wrote:
> > Reference please. Because that is not the way I have understood
> > the relationship between HTML/attributes and CSS.
> 

Braden N. McDaniel wrote:
> As I have just previously posted to www-style, this is covered in section
> 3.2 of the CSS1 spec. ...

See above, unless you are suggesting that the specificity in this case
is _not_ equal to one?

Sue Jordan
Received on Tuesday, 4 August 1998 14:23:42 GMT

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