[Webkit-unassigned] [Bug 59042] REGRESSION (WK2): Animated GIF stops when navigating forward, back

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 20 17:03:31 PDT 2011


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


Andy Estes <aestes at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |aestes at apple.com
                   |kit.org                     |




--- Comment #2 from Andy Estes <aestes at apple.com>  2011-04-20 17:03:31 PST ---
When loading the page from the b/f cache, document()->view()->isOffscreen() returns true in RenderObject::willRenderImage(), so BitmapImage::startAnimation() returns without actually kicking off the animation.

In WebKit1, the ScrollView is a platform widget, so ScrollView::isOffscreen() calls [NSWindow isVisible]. In WebKit2, the ScrollView isn't a platform widget so it asks the WebCore Widget whether or not it is visible. It always returns false since setParentVisible(false) was called on the old ScrollView before navigating to a new page, but setParentVisible(true) is never called when restoring it from the back/forward cache.

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