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

Re: Initial Value

From: Maniac <Maniac@SoftwareManiacs.Org>
Date: Wed, 01 Jun 2005 18:22:47 +0400
Message-ID: <429DC4B7.9040506@SoftwareManiacs.Org>
To: Felix Miata <mrmazda@ij.net>
CC: www-style@w3.org

Felix Miata wrote:

>I'm trying to better understand. But once again I refer you to the
>actual language at http://www.w3.org/TR/CSS21/fonts.html#propdef-font
>"<em><b>All</b></em> font-related properties
><em>are first reset to their
><b>initial values</b></em>, ... 
><em>Then</em> those properties that are given explicit values in the
>'font' shorthand are set to those values." (emphasis supplied)
May be this should be rephrased. Really the words 'first' and 'then' 
make readers think that values calculated 'then' do depend on values to 
which they was reset 'first'. Which is not the case with 'font-size'.

To Felix: yes, font-size:70% means 70% of _parent's_ regardless of any 
previous computed value of this font-size, be it 'medium' or not.
Received on Wednesday, 1 June 2005 14:22:51 UTC

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