W3C home > Mailing lists > Public > www-style@w3.org > May 2011

[cssom-view] Incorrect definitions of scrollWidth and scrollHeight

From: Leif Arne Storset <lstorset@opera.com>
Date: Fri, 06 May 2011 16:51:49 +0200
To: "Robert O'Callahan" <robert@ocallahan.org>, "Anne van Kesteren" <annevk@opera.com>
Cc: www-style <www-style@w3.or>
Message-ID: <op.vu2d8nybtmo5g6@localhost.localdomain>
Apologies for the missent message. Here's the full text:

Not sure if anybody's taking care of CSSOM View while Anne's away, but
here goes:

The definitions of scrollWidth and scrollHeight [0] don't match Gecko and
Trident (IE9)'s behavior, which is something like the following:

If the element is the root element and the Document is not in quirks mode  
return the dimensions of the document or the viewport, whichever is  
larger. The dimensions of the document include any positioned elements and  
overflow.

WebKit (Chrome) and Presto don't conform to this, but Presto will in an  
upcoming release.

0. http://dev.w3.org/csswg/cssom-view/#dom-element-scrollwidth

--
Leif Arne Storset
Core Technology Developer, Opera Software
Oslo, Norway
Received on Friday, 6 May 2011 14:58:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:40 GMT