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

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 UTC