Re: [cssom-view] Incorrect definitions of scrollWidth and scrollHeight

On Wed, 17 Apr 2013 01:10:52 +0200, Matt Rakow <marakow@microsoft.com>  
wrote:

>> > 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#wid
>> > l-Element-scrollWidth
>
> This doesn't exactly match Trident/Gecko/Webkit/Presto behavior when  
> scrollbars are present and the viewport is larger than the document  
> content.  innerWidth/innerHeight explicitly includes the size of the  
> rendered scrollbar, whereas scrollWidth/scrollHeight on the root element  
> excludes the scrollbar.

Fixed. https://dvcs.w3.org/hg/csswg/rev/3e45009199b6

-- 
Simon Pieters
Opera Software

Received on Monday, 27 May 2013 13:48:43 UTC