Re: [css4-ui] Scrollbar tracking control

-------- Original-Nachricht --------
> Datum: Fri, 15 Jun 2012 03:16:39 +0200
> Von: Bjoern Hoehrmann <derhoermi@gmx.net>
> An: "Tab Atkins Jr." <jackalmage@gmail.com>
> CC: www-style list <www-style@w3.org>
> Betreff: Re: [css4-ui] Scrollbar tracking control

> * Tab Atkins Jr. wrote:
> >On Thu, Jun 14, 2012 at 4:59 PM, Bjoern Hoehrmann <derhoermi@gmx.net>
> wrote:
> >> * Tab Atkins Jr. wrote:
> >>>I request that we add an explicit control for this, such that if a
> >>>scrollbar is currently scrolled against a particular edge, it can be
> >>>made to "stick" to that edge when the content width/height changes.
> >>>Something like:
> >>>
> >>>scrollbar-attachment: normal | edge;
> >>
> >> This is not really controlling the scrollbar, especially not if there
> >> is none, so the name seems wrong;
> >
> >Explain? I'm not sure how this isn't controlling the scrollbar.
> 
> Scrollbars are an interface that represent and allow to control which
> part of an element is rendered. The `-ms-scrollbar-*` properties would
> control the actual scrollbar, but you generally would not refer to some
> UI control in order to manipulate concepts they are an interface to.
> You would not have a property `volume-slider: 100%` for `volume: 100%`.
> And if this was to work with overflow:hidden, say because you have some
> touch UI or because you don't actually want the user to scroll, then it
> becomes confusing to set `scrollbar-*` properties, since there is none.
> And which scrollbar anyway, considering there can be more than one.

How about this:

overflow-attachment-x: [normal | left | right] || <length> | inherit;

overflow-attachment-y: [normal | top | bottom] || <length> | inherit;

with <length> specifying the trap distance to the edge.

Sebastian
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

Received on Friday, 15 June 2012 04:50:15 UTC