Re: [csswg-drafts] [css-overflow] overflow: Consider support for overlay scrollbars

Proposal:

> 
> Name: overflow-style
> Values: auto | auto-hide | overlay 
> Initial: auto;
> Applies to: same as the overflow/ overflow-x / overflow-y properties
> Computed value: as specified
> Animation type: discreet
> 
> **auto**: scrollbars, if present, are drawn according to platform 
conventions.
> 
> **overlay**: scrollbars must not consume space. The UA should follow
 platform conventions as to the appearance of the scrollbar, but it 
must also make sure that underlying content remains visible, for 
example by making scroll bars transparent, or by automatically hiding 
them when the use is not actively scrolling.
> 
> **auto-hide**: For scrollbars caused by `overflow: auto`, this does 
the same as `overflow-style :overlay`. for scrollbars caused by 
`overflow: scroll`:
> - the UA must reserve space for the scrollbar to ensure that it does
 not overlap with content.
> - the UA must follow platform conventions as to the appearance of 
the scrollbar. Depending on platform conventions, the UA may make the 
scrollbar invisible when the use is not actively scrolling. If the 
scrollbar is transparent, or partly transparent, or sometimes 
invisible, the area under it is painted as if it were an extension of 
the padding box.
> - If the scrollbar would be non-operable due to the element having 
no overflowing content in the relevant dimention, the UA must not 
display the scrollbar, but it must still consume reserve the same 
amount of space. This area is painted as if it were an extension of 
the padding box.
> 


-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/92#issuecomment-236550745 
using your GitHub account

Received on Monday, 1 August 2016 11:00:01 UTC