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

Re: When font-size and font size collide

From: David Perrell <davidp@earthlink.net>
Date: Tue, 17 Aug 1999 15:36:28 -0700
Message-ID: <01bb01bee900$f2fa14e0$15a8a8c0@DPER>
To: <www-style@w3.org>
L. David Baron wrote:

> The rule to which you refer (CSS2 section 6.4.4, also in
CSS1) only has
> an effect when the presentational hint and the CSS rule are
on the same
> element.  Otherwise whichever is deeper in the document tree
> inheritance from the one that is higher.  See [1], where I
> this fully.

You give a useful demonstration of how FONT is an inline HTML
element and subject to styling rules just like any other such
element, but you fail to note an equivocation in the

"6.4.4 Precedence of non-CSS presentational hints
The UA may choose to honor presentational hints from other
sources than style sheets, for example the FONT element or the
"align" attribute in HTML..."

The key word is "may".

NS Nav 4 ignores the SIZE attribute for the FONT element when
an ancestor element has those attributes defined by CSS rules.
But it continues to apply the FACE attribute and the COLOR
attribute. This kind of behavior doesn't make it "easier for
stylistic attributes to coexist with style sheets" and serves
to limit the options available to authors. Some might consider
that a good thing, since it forces authors to specify FONT
attributes in the style sheet. But with IE ignoring 'inherit'
and Navigator getting downright nasty about it, it sure ain't

David Perrell
Received on Tuesday, 17 August 1999 18:37:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:51 UTC