Initial Value

I brought this up on css-d without getting an answer I understand. Refer
to the following testcase:
http://members.ij.net/mrmazda/tmp/initial-value.html
and these spec for "initial value" and for "font":
http://www.w3.org/TR/CSS21/cascade.html#x1
http://www.w3.org/TR/2002/WD-css3-cascade-20020219/#initial
http://www.w3.org/TR/CSS21/fonts.html#font-shorthand

Here's the relevant portion of the DOM tree for the testcase loaded into
Gecko with the UA default size set to 20px:
	body (80% x 20px = 16px computed)
		p.one (80% x 80% x 20px = 12.8px computed)
		p.two (80% x 70% x 20px = 11.2px computed)

The way I read the language in the specs, using the font property is
supposed to reset all properties to their initial values, and then apply
any values explicit among the parameters supplied to font. To my
understanding, this use of "initial values" means discarding all
inheritance derived from author or user styles, taking the values
supplied by the UA via its user preference settings. Obviously according
to Domi, Gecko is not interpreting the spec language the same as I am. My
expectation would be for p.two to compute to 14px. What is it I'm missing
regarding the definition of initial value? If not to the values from the
UA, what exactly is being reset? What does this "reset" actually
accomplish?
-- 
"Through Him all things were made; without Him nothing was made
that has been made."                                John 1:3 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

Received on Wednesday, 1 June 2005 00:53:50 UTC