Re: [css-overflow]: Suggestion - add property value to allow scrolling without scrollbar

> On 27 Feb 2015, at 20:28, Axel Dahmen <brille1@hotmail.com> wrote:
> 
> It's a time of swiping and gesturing. And in this course of time I see a lack in the CSS3 specification for areas that are supposed to be scrollable ("swipeable") without actually showing a scroll bar.
> 
> Hence, I'd like to suggest to add an additional property value to the "overflow-x"/"overflow-y" properties.
> 
> The new value would behave exactly like "scroll", but without the bars.
> 
> 
> There are two options to achieve the suggested behaviour:
> 
> (-a-)
> Rename the current "scroll" value to "scrollbar" and give "scroll" the new non-bar semantics. (doubtful to happen)
> 
> (-b-)
> Be creative and come up with a pleasant name for the new property value, e.g. "scroll-no-bars".

The microsoft incarnation of the overflow-style property, which has existed and disappeared in various drafts with different values, would solve this:

https://msdn.microsoft.com/en-us/library/windows/apps/hh441298.aspx

-ms-overflow-style: auto | none | scrollbar | -ms-autohiding-scrollbar

I don't know if there is interest from other vendors though.

Also, while this should be fairly easy to spec and to implement, I am not fully convinced this is actually a good idea to give this control to authors. As a platform wide setting, or a user controlled preference, sure, but I worry that having many sites being inconsistent with each-other about the look and feel of scrolling would be detrimental to users ability to recognise scrollable things.

 - Florian

Received on Friday, 27 February 2015 12:26:50 UTC