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

Relative font-sizes on the root element (Was: Minor error in CSS2, section 14.2; 'background')

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Tue, 7 Sep 1999 15:28:51 +0100 (BST)
To: "L. David Baron" <dbaron@fas.harvard.edu>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.9909071524540.2481-100000@ss1.bath.ac.uk>
On Mon, 6 Sep 1999, L. David Baron wrote:

> [1] For some properties (those that inherit by default), the default
> value is different for the root element, though.  A more logical way of
> handling this might be to describe a super-root element where all the
> properties' values are UA-dependant.  This might also explain:
> HTML { font-size: 2em; }
> which I believe is currently formally undefined.

It should probably be treated in much the same way as percentages on the
root element, as should the other relative values (ex units, larger, and
smaller) - see section 4.3.3:

# When a percentage value is set for a property of the root element
# and the percentage is defined as referring to the inherited value of
# some property, the resultant value is the percentage times the
# initial value of that property.

I cannot find anywhere that explicitly states that, though.

CSS2-editors: Consider this another suggested errata item...

Ian Hickson
: Is your JavaScript ready for Nav5 and IE5?
: Get the latest JavaScript client sniffer at 
: http://developer.netscape.com/docs/examples/javascript/browser_type.html
Received on Tuesday, 7 September 1999 10:29:09 UTC

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