Re: Fwd: cssom - clientTop, et v

On Mon, 10 Mar 2008 19:11:24 +0100, Garrett Smith <dhtmlkitchen@gmail.com>  
wrote:
> You appear to have agreed with something I wrote. What that is is a
> mystery. Is it possible to include your response? We list subscribers
> don't have access to your personal notes.

It says: "<!-- XXX consider adding element.cascadedStyle -->" or something  
in that direction.


>>  As I said, depends on the context. CSS pixels are defined by CSS:
>>
>>    http://www.w3.org/TR/CSS21/syndata.html#length-units
>>
>
> I'm going to come right out and ask then:
>
> Should a CSS pixel include a decimal point?

Not per se. CSS pixel is just a term for the relative pixel unit CSS  
defines.


> But when you say "clientTop is an integer" - do you mean that it
> SHOULD be an integer, or that that's what browsers currently do?

It returns an integer per the IDL.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 10 March 2008 18:42:01 UTC