Re: [css4-ui] Scrollbar tracking control

On Jun 14, 2012, at 5:14 PM, Tab Atkins Jr. <jackalmage@gmail.com> 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.

>From your description it sounds like it is controlling the scroll position, as opposed to the position of the scrollbar as a whole, which is what "scrollbar-attachment" seems to imply. You could say it's controlling the position of the scrollbar thumb, but (a) it's wrong to refer to just the thumb as the scrollbar; (b) the thumb position is determined by the scroll position, so describing the property as controlling attachment of the scrollbar thumb would be reversing cause and effect; and (c) this property could plausibly have an effect even in cases where no scrollbar is visible at the moment, such as the default state when not actively scrolling on OS X or iOS.

(It might be that I'm just misunderstanding the proposal though; it was hard to follow the original description.) 

Regards,
Maciej

Received on Sunday, 1 July 2012 22:16:52 UTC