W3C home > Mailing lists > Public > www-style@w3.org > April 2001

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

From: fantasai <fantasai@escape.com>
Date: Mon, 30 Apr 2001 19:46:00 -0400
Message-ID: <3AEDF938.125C4980@escape.com>
To: www-style@w3.org
Bjoern Hoehrmann wrote:
> 
> * 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 }
> 

What if an author style sheet has this - 
  :root { width: 45% }
?
Received on Monday, 30 April 2001 19:44:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:09 GMT