W3C home > Mailing lists > Public > www-style@w3.org > December 2012

Re: [css3-values] Interaction of vw/vh and scrollbars

From: Ojan Vafai <ojan@chromium.org>
Date: Mon, 3 Dec 2012 15:53:12 -0800
Message-ID: <CANMdWTvHR2frrP-noMO58CLKtKFPzYtoCPbEMPAcDNxivG_UPA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
On Mon, Dec 3, 2012 at 3:39 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Mon, Dec 3, 2012 at 3:33 PM, Ojan Vafai <ojan@chromium.org> wrote:
> > This comes down to use-cases. Not clear to me what use-cases vw/vh are
> meant
> > to meet. For example, lets say you were position:absolute'ing a mask to
> > cover the whole window (e.g. behind a dialog), in this case you'd want
> it to
> > be on top of the scrollbars. Yours is a use-case where you'd want the
> > opposite. Not really sure how to resolve both.
>
> You can't cover up the page's scrollbars anyway, no matter what you
> do, so that use-case is already impossible.
>

Hah. Good point. Nevermind then. We clearly should subtract scrollbar
width/height in these cases. :)
Received on Monday, 3 December 2012 23:54:01 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:22 UTC