[whatwg] width and height

Boris Zbarsky bzbarsky at MIT.EDU
Sun Mar 28 11:03:12 PDT 2010


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


More information about the whatwg mailing list