W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css4-ui] Scrollbar tracking control

From: Maciej Stachowiak <mjs@apple.com>
Date: Sun, 01 Jul 2012 15:16:33 -0700
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-style list <www-style@w3.org>
Message-id: <90EAD50C-F9E1-4A9D-969F-1CCCA279F134@apple.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:56 GMT