W3C home > Mailing lists > Public > www-style@w3.org > October 2002

Re: css2 float/text flow selection question.

From: Michael Pediaditakis <mp49@ukc.ac.uk>
Date: Mon, 28 Oct 2002 17:13:07 +0000
Message-ID: <3DBD7023.9080000@ukc.ac.uk>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-style@w3.org

Boris Zbarsky wrote:
>>CSS or CSS-DOM do not seem to define if it has to have any initial
>>value.
> 
> 
> http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration
> has the following prose:
> 
> getPropertyValue
>     Used to retrieve the value of a CSS property IF IT HAS BEEN
>     EXPLICITLY SET WITHIN THIS DECLARATION BLOCK.
> 
> (emphasis mine).
> 
> Then at
> http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSS2Properties we
> have:
> 
>   Getting an attribute of this interface is equivalent to calling the
>   getPropertyValue method of the CSSStyleDeclaration interface.
> 
> Boris

Whoops didn't show that. So, it means that it is impossible to get
any end-representation attribute that has *not* ben explicitly
set within a correspoding CSS declaration. Does that imply as well
that there is no standard (e.g. inter-browser) way to get basic
representation properties such as width etc? (if found a solution
that works with the offsetWidth HTML Element property but that is
not part of the HTML DOM standard)

Thanks for your help,
Mike.
Received on Monday, 28 October 2002 12:13:14 GMT

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