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 20:59:55 +0200
To: Dylan Schiemann <dylans@yahoo.com>
Cc: Daniel Glazman <glazman@netscape.com>, www-dom@w3.org, www-style@w3.org
Message-ID: <gadretc16jtlqeh9igck0n5vdhj8uldjmq@4ax.com>
* Dylan Schiemann wrote on www-dom@w3.org:
><body>
><div style='width:80%;'>
></div>
></body>
>
>div
>->getComputedStyle
>->getPropertyCSSValue('width')
>->getFloatValue(CSS_PX)
>
>will return a value in pixels that is 80% of the width
>of the viewport, right?

Yes, but assume a user agent style sheet with

	:root { width: 400px }

>So it does depend on the rendering...

Nope, just on the cascade :-)
-- 
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 14:59:03 GMT

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