Bug 25765

Summary: ASSERTION FAILED: !childNeedsStyleRecalc() when leaving a page with animations
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Chris Marrin <cmarrin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Patch simon.fraser: review+

Description Simon Fraser (smfr) 2009-05-13 16:19:20 PDT
When loading pages with CSS animations (by dragging local files into my browser window), when loading a file _after_ one which was running a CSS animation, I hit an assertion:

#0  0x0000000101171d49 in WebCore::Document::unscheduleStyleRecalc (this=0x106001600) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/dom/Document.cpp:1116
#1  0x000000010117ba76 in WebCore::Document::setInPageCache (this=0x106001600, flag=true) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/dom/Document.cpp:3072
#2  0x00000001010167bd in WebCore::CachedFrame::CachedFrame (this=0x1279a9f50, frame=0x11a806e00) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/history/CachedFrame.cpp:72
#3  0x000000010101793d in WebCore::CachedFrame::create (frame=0x11a806e00) at CachedFrame.h:48
#4  0x0000000101019da8 in WebCore::CachedPage::CachedPage (this=0x1279573d0, page=0x11a0204e0) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/history/CachedPage.cpp:51
#5  0x0000000101019e6b in WebCore::CachedPage::create (page=0x11a0204e0) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/history/CachedPage.cpp:46
#6  0x000000010122ccc7 in WebCore::FrameLoader::cachePageForHistoryItem (this=0x11a806e50, item=0x127994040) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/loader/FrameLoader.cpp:4198
#7  0x000000010122ce41 in WebCore::FrameLoader::commitProvisionalLoad (this=0x11a806e50, prpCachedPage=@0x7fff5fbfc710) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/loader/FrameLoader.cpp:2787
#8  0x00000001011a3be9 in WebCore::DocumentLoader::commitIfReady (this=0x10606dc00) at /Volumes/InternalData/Development/webkit/WebKit.git/WebCore/loader/DocumentLoader.cpp:339
#9  0x00000001011a3c1d in WebCore::DocumentLoader::commitLoad (this=0x10606dc00, data=0x11f008400 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n   \"http://www.w3.org/TR/
Comment 1 Chris Marrin 2009-05-15 10:50:27 PDT
Created attachment 30394 [details]
Patch
Comment 2 Chris Marrin 2009-05-15 11:18:26 PDT
Sending        WebCore/ChangeLog
Sending        WebCore/page/animation/KeyframeAnimation.cpp
Transmitting file data ..
Committed revision 43775.