Re: [css4-ui] Scrollbar tracking control

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.

> and I am not sure I like having just the
> "edge" value (what if initially the content does not overflow, then you
> add stuff, how would the implementation decide whether to stick with the
> top or with the bottom), but the functionality seems useful enough.

Ah, good point.  It might make sense, then, to instead specify an
edge, so that when a scrollbar *does* appear, it sticks to that edge.

~TJ

Received on Friday, 15 June 2012 00:17:32 UTC