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

Re: [css4-ui] Scrollbar tracking control

From: Sebastian Zartner <sebastianzartner@gmx.de>
Date: Fri, 15 Jun 2012 10:30:49 +0200
Cc: www-style@w3.org, jackalmage@gmail.com, derhoermi@gmx.net
Message-ID: <20120615083049.242740@gmx.net>
To: Elliott Sprehn <esprehn@gmail.com>
> On Thu, Jun 14, 2012 at 9:49 PM, Sebastian Zartner
> <sebastianzartner@gmx.de>wrote:
> 
> > ...
> > 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.
> >
> >
> This looks really good to me. Why would you want inherit though?
> 
> - E

If you have a scrolling element inside another scrolling panel you might want to inherit the scrolling behavior, so you see e.g. the bottom-most element inside of it. Though I'm not sure if that's a common use case.

Anyway, I'd also suggest a shorthand for the syntax above:

overflow-attachment: [normal | top | bottom] || [normal | left | right] || <length>{1,2} | inherit

Sebastian
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
Received on Friday, 15 June 2012 08:31:21 GMT

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