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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 4 Dec 2012 18:18:25 +1300
Message-ID: <CAOp6jLaVAxiZ_vEYt+YLr09NsSATdUiGO5jYqb10aPhXhgVbaw@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
On Tue, Dec 4, 2012 at 12:02 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> (In some cases we can't tell, like if <body> is overflow:auto.  In
> that case, I think it's reasonable to either always ignore or always
> assume scrollbars.  Current behavior in browsers is to always ignore,
> so I'm fine with sticking to that.)
>

I think overflow:auto should match overflow:scroll.

"Ignore" is considerably easier to implement due to cyclic dependencies
with overflow:auto (scrollbar presence depends on element sizes which
depend on scrollbar presence). It could be done, because such dependencies
already exist and are handled by browsers, but I think you'd need a
compelling reason to add more to that mess.

Rob
-- 
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]
Received on Tuesday, 4 December 2012 05:18:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT