W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Re: clarification needed : Computed Style Value of 'font-family'

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 30 Apr 2001 15:39:45 +0200
To: glazman@netscape.com (Daniel Glazman)
Cc: www-dom@w3.org, www-style@w3.org
Message-ID: <rgqqet8ts0hkh61b5af30jl4fjqmd1siv6@4ax.com>
* Daniel Glazman wrote on www-dom@w3.org:
>Let's suppose that the following CSS style declaration applies to a 
>given element :
>
>  font-family : Helvetica, Arial, sans-serif
>
>What is the computed style value for 'font-family' on this element, 
>supposing that Helvetica font is not available on the system but Arial is ?
>
>(a) "Helvetica, Arial, sans-serif"
>(b) "Arial"
>(c) "Arial, sans-serif

I'd say a). Font-family names aren't relative to another value, so they
are absolute and the computed value of an absolute value is equivalent
to the specified value, see [1]

 [1] http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#computed-value
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Monday, 30 April 2001 09:39:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT