Re: css2 float/text flow selection question.

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 UTC