Re: overflow: repeat – Repeating Content for CSS

On Aug 28, 2013, at 4:18 AM, Brian Blakely <anewpage.media@gmail.com> wrote:

> On Tue, Aug 27, 2013 at 11:52 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> It took me a while to understand this from your description, but
> you're just describing a scrolling container that "wraps around" at
> the end, correct?
> 
> I agree that such a thing would be useful.
> 
> That is correct.
> 
>  
> > Q: What about scroll indicators?
> > A: This should be implemented as befits the user agent, but wrapping the
> > indicators with the content is one possibility.
> 
> This isn't a complete enough answer.  Do you have *any idea* how one
> might show a scrollbar that's useful for wrapping scroll?  Without a
> good idea, I don't see how anyone can implement this.
> 
> ~TJ
>  
> Sure, let me go into more detail: when the user surpasses the end of the nominal content height/width, completing a "loop," the side/bottom scroll indicator goes back to its starting position.  The inverse takes place for scrolling up/left beyond the nominal content start.  I don't think we necessarily need new controls for this mechanic, existing scroll indicators are easily compatible.

It might get a bit tricky if you have a fixed height (or width for repeat-x) and the content fits one and a half time in it. But I suppose the scroll bar would scroll twice the normal content dimension then.

I think it is a good idea as well.

Greetings,
Dirk

Received on Wednesday, 28 August 2013 07:13:35 UTC