- From: Simon Pieters <simonp@opera.com>
- Date: Tue, 16 Apr 2013 22:02:21 +0200
- To: "Robert O'Callahan" <robert@ocallahan.org>, "Leif Arne Storset" <lstorset@opera.com>
- Cc: www-style <www-style@w3.org>
(sending this again so it makes it to the list...) On Fri, 06 May 2011 16:51:49 +0200, Leif Arne Storset <lstorset@opera.com> wrote: > 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 This appears to have been fixed at some point. The spec now says: [[ If the element is the root element and the Document is not in quirks mode return max(document content width, value of innerWidth). ]] https://dvcs.w3.org/hg/csswg/raw-file/tip/cssom-view/Overview.html#widl-Element-scrollWidth -- Simon Pieters Opera Software
Received on Tuesday, 16 April 2013 20:02:59 UTC