[Webkit-unassigned] [Bug 72852] Scroll position is lost after hide/show element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 29 01:54:13 PST 2011


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





--- Comment #14 from Rakesh <rakesh.kn at motorola.com>  2011-11-29 01:54:12 PST ---
(In reply to comment #13)
> (In reply to comment #10)
> > (From update of attachment 116563 [details] [details])
> > There's no guarantee that the style will be the same after the display:none -> display:block change, so the point may be just wrong. For example, imagine that all the rows got taller.
> 
> For this case, both IE and firefox restore to the old position even though height is increased as long as the stored position + height is less than the scrollable height.
> 
> This can be verified in the new test case attached. May be we can have this behavior to match other browsers.

Also this change of row height does apply for an visibility:hidden also, it does not restore to the previous position but a changed scroll position when it was hidden after scrolling to end of scrollable area and height is increased and  visibility:visible is applied.

-- 
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