W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2010

[whatwg] width and height

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 28 Mar 2010 14:03:12 -0400
Message-ID: <4BAF99E0.6050703@mit.edu>
On 3/28/10 12:21 PM, Perry Smith wrote:
> ele.style.height returns the "used" value if display is not set to none.
> By "used" value I assume the CSSOM spec means the actual value used.

It means "used value" as defined in the CSS specification.  See CSS 2.1 
section 6.1.3.

> I see a few old messages on this list about clientWidth and innerWidth
> and a reply that they were moved to CSSOM but there is nothing really
> defined in the copy of CSSOM I'm looking at.

http://www.w3.org/TR/2009/WD-cssom-view-20090804/#client-attributes 
seems to have that.  What copy are you looking at?

Insert the usual "use getBoundingClientRect()" shpiel here.

-Boris
Received on Sunday, 28 March 2010 11:03:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:22 UTC