RE: [css3-ui] Proposal for an "overlay" value for 'overflow'

[François REMY:]
> 
> For what it's worth, Microsoft has its own proprietary property to achieve
> this:
> 
>     -ms-overflow-style:
>         | auto
>         | scrollbar
>         | -ms-autohiding-scrollbar
> 
>     http://msdn.microsoft.com/en-us/library/windows/apps/hh441298.aspx
> 
> I believe it should be possible to standardize both at the same time
> ('overflow: overlay' being standardized as a shorthand for 'overflow:
> auto; overflow-style: overlay' or 'overflow: scroll; overflow-style:
> overlay').
> 
Yes; and I don't think of overlay or auto-hide scrollbars or any other
possible ways scrollbars can show and layout as an overflow value. 

I think of the overflow property as answering basic questions about overflow
*content*: does it spill out or is it clipped? If it's clipped, can you always
scroll to the overflow or does the UA decide? Other properties should then 
define more details about the scrolling mechanism, if any.

Note: auto-hide scrollbars are of course overlay, and I think this is where
the concept makes the most sense as I'm not sure why you'd want scrollbars 
that are always present *and* hide some of your content. Whereas you definitely 
want them to have no effect on layout if they're only visible during user
interaction.

Received on Friday, 25 January 2013 16:47:19 UTC