W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: Fwd: cssom - clientTop, et v

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 10 Mar 2008 19:41:42 +0100
To: "Garrett Smith" <dhtmlkitchen@gmail.com>
Cc: Www-style <www-style@w3.org>
Message-ID: <op.t7tcvsgk64w2qv@annevk-t60.oslo.opera.com>

On Mon, 10 Mar 2008 19:11:24 +0100, Garrett Smith <dhtmlkitchen@gmail.com>  
> 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  

> 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
Received on Monday, 10 March 2008 18:42:01 GMT

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