W3C home > Mailing lists > Public > www-style@w3.org > July 2009

Re: [css3-mediaqueries] width/height and viewport scrollbars

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 24 Jul 2009 16:32:51 +0200
To: Øyvind Stenhaug <oyvinds@opera.com>, "L. David Baron" <dbaron@dbaron.org>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uxktc1kg64w2qv@annevk-t60>
On Fri, 24 Jul 2009 15:38:01 +0200, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> On Wed, 01 Jul 2009 00:02:39 +0200, L. David Baron <dbaron@dbaron.org>  
> wrote:
>> On Thursday 2009-06-11 18:35 +0200, Øyvind Stenhaug wrote:
>>> The descriptions of the 'width' and 'height' media features should
>>> perhaps clarify whether or not viewport scrollbars are included. It  
>>> seems
>>> that the presence of scrollbars makes no difference on Minefield
>>> (Gecko/20090610) while it does in Safari 4 public beta.
>>
>> Removing the space occupied by viewport scrollbars for the values of
>> 'width' and 'height' seems like a pretty clear bug to me.
>
> Well, an interpretation of the specs as written may result in that  
> conclusion. The ICB "has the dimensions of the viewport" (CSS2.1 10.1),  
> and the space taken up by an element's scrollbars is subtracted from the  
> containing block it forms (CSS2.1 11.1.1, though again the viewport as a  
> special (non-"element") case doesn't seem to be mentioned).
>
> But I'm not arguing that the space should be removed (our internal  
> builds don't do that either).

Do you have a suggestion for text to consider when I next update the draft (which might take a while, see other email)?


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 24 July 2009 14:33:37 GMT

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