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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 30 Apr 2001 19:40:11 +0200
To: Dylan Schiemann <dylans@yahoo.com>
Cc: Daniel Glazman <glazman@netscape.com>, www-dom@w3.org, www-style@w3.org
Message-ID: <lu7retkimv3t48ti8hn0uk44q5794ahmn5@4ax.com>
* Dylan Schiemann wrote on www-dom@w3.org:
>Yes, but it you specify width:100% (or any other
>relative value), getComputedStyle returns the actual
>pixel width, which is dependent on the user agent and
>its settings.

<div style='width: 20cm'>
  <div style='width: 50%'>


will raise INVALID_ACCESS_ERR since 10cm couldn't be converted to pixels

>> If the specified value is 'solid', the computed
>> value will be 'solid', too, since 'solid' is an absolute
>> value.

>I was referring to how setting border-style:dotted is
>rendered at solid in IE 5.0... 

Then replace 'solid' with 'dotted' in my statement.
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 13:39:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:57 UTC