- From: Ojan Vafai <ojan@chromium.org>
- Date: Mon, 3 Dec 2012 15:53:12 -0800
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: www-style list <www-style@w3.org>
Received on Monday, 3 December 2012 23:54:01 UTC
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