[Webkit-unassigned] [Bug 52988] REGRESSION (r75555): Safari RSS sidebar jiggles when scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 24 11:14:55 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52988





--- Comment #7 from James Robinson <jamesr at chromium.org>  2011-01-24 11:14:54 PST ---
(In reply to comment #5)
> (In reply to comment #3)
> > Is using position: fixed an alternative here?
> 
> It’s not.
> 
> > It looks like the code (slipDiffScroll) tries to be clever if the sidebar is taller than the viewport area, so a scroll event handler will be necessary regardless in those cases (where the sidebar needs to scroll).
> 
> That’s right. That’s why position: fixed is not suitable.

It looks like this layout is bimodal - either the sidebar takes its static position, or it acts as a position:fixed element.  The page would look a _lot_ better if the scroll listener was used to switch the element from being position:absolute to position:fixed when scrolling past the cutoff point, or when resizing the window.  That way there might be a hitch when switching between the two modes (but that looks jumpy anyway) but the scrolling will be synced up outside of that switch.

Longer-term this is a fairly common UI that CSS should be expanded to express declaratively.  It's just not going to work very well in script.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list