- 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
* 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%'> ... </div> </div> div_inner ->getComputedStyle ->getPropertyCSSValue('width') ->getFloatValue(CSS_PX) 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