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

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

From: Dylan Schiemann <dylans@yahoo.com>
Date: Mon, 30 Apr 2001 09:47:41 -0700 (PDT)
Message-ID: <20010430164741.28568.qmail@web13503.mail.yahoo.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Daniel Glazman <glazman@netscape.com>, www-dom@w3.org, www-style@w3.org

--- Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
> The DOM does not care if there is
> something installed on the system, if the user agent
> is able to render this or that and so on, the DOM
> just
> reflects the document and all informations actualle
> are
> _in the document_. The computed value of a CSS
> property
> value relies on style declarations for other nodes,
> not
> on anything else. 
> The DOM works even without something that renders
> something,
> that's a good thing and we shouldn't change that.

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.  Doesn't this depend on how the document
is rendered?

> >What should getComputedStyle return in ie5.0 (if it
> >was supported) for one of the border-style
> >declarations that is mapped to solid?  As far as I
> can
> >tell, the computedStyle would be the style
> declared,
> >even though the rendered style is solid.
> 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... 

Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
Received on Monday, 30 April 2001 12:47:52 UTC

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