<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>25765</bug_id>
          
          <creation_ts>2009-05-13 16:19:20 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: !childNeedsStyleRecalc() when leaving a page with animations</short_desc>
          <delta_ts>2009-05-15 11:18:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Chris Marrin">cmarrin</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121135</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-05-13 16:19:20 -0700</bug_when>
    <thetext>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 &quot;&lt;!DOCTYPE html PUBLIC \&quot;-//W3C//DTD HTML 4.01 Transitional//EN\&quot;\n   \&quot;http://www.w3.org/TR/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121541</commentid>
    <comment_count>1</comment_count>
      <attachid>30394</attachid>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2009-05-15 10:50:27 -0700</bug_when>
    <thetext>Created attachment 30394
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121547</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Marrin">cmarrin</who>
    <bug_when>2009-05-15 11:18:26 -0700</bug_when>
    <thetext>Sending        WebCore/ChangeLog
Sending        WebCore/page/animation/KeyframeAnimation.cpp
Transmitting file data ..
Committed revision 43775.
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>30394</attachid>
            <date>2009-05-15 10:50:27 -0700</date>
            <delta_ts>2009-05-15 10:51:50 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>25765.patch</filename>
            <type>text/plain</type>
            <size>1347</size>
            <attacher name="Chris Marrin">cmarrin</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0Mzc3MikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTcgQEAKKzIwMDktMDUtMTUgIENocmlzIE1hcnJpbiAgPGNtYXJyaW5AYXBwbGUu
Y29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIGh0
dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yNTc2NQorCisgICAgICAgIEF2
b2lkIGNhbGxpbmcgc2V0TmVlZHNTdHlsZVJlY2FsYygpIHdoZW4gd2UgYXJlCisgICAgICAgIHB1
dHRpbmcgYW4gYW5pbWF0ZWQgcGFnZSBpbiB0aGUgY2FjaGUuIFRoaXMgYXZvaWRzCisgICAgICAg
IHRoZSBhc3NlcnQgYW5kIHN1YnNlcXVlbnQgcHJvYmxlbXMgd2l0aCBhIGRpcnR5IAorICAgICAg
ICBwYWdlIGdvaW5nIGludG8gdGhlIGNhY2hlLgorCisgICAgICAgICogcGFnZS9hbmltYXRpb24v
S2V5ZnJhbWVBbmltYXRpb24uY3BwOgorICAgICAgICAoV2ViQ29yZTo6S2V5ZnJhbWVBbmltYXRp
b246OmVuZEFuaW1hdGlvbik6CisKIDIwMDktMDUtMTUgIEFsZXhleSBQcm9za3VyeWFrb3YgIDxh
cEB3ZWJraXQub3JnPgogCiAgICAgICAgIFdpbmRvd3MgYnVpbGQgZml4IChhbmQgYSBtYXRjaGlu
ZyBNYWMgY2hhbmdlLCB0byBhdm9pZCB1bm5lY2Vzc2FyaWx5IGRpdmVyZ2luZyB0aGUgaW1wbGVt
ZW50YXRpb25zKS4KSW5kZXg6IFdlYkNvcmUvcGFnZS9hbmltYXRpb24vS2V5ZnJhbWVBbmltYXRp
b24uY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvcGFnZS9hbmltYXRpb24vS2V5ZnJhbWVBbmlt
YXRpb24uY3BwCShyZXZpc2lvbiA0MzcyMCkKKysrIFdlYkNvcmUvcGFnZS9hbmltYXRpb24vS2V5
ZnJhbWVBbmltYXRpb24uY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0yMTYsNyArMjE2LDggQEAgdm9p
ZCBLZXlmcmFtZUFuaW1hdGlvbjo6ZW5kQW5pbWF0aW9uKGJvbwogICAgICAgICBVTlVTRURfUEFS
QU0ocmVzZXQpOwogI2VuZGlmCiAgICAgICAgIC8vIFJlc3RvcmUgdGhlIG9yaWdpbmFsICh1bmFu
aW1hdGVkKSBzdHlsZQotICAgICAgICBzZXROZWVkc1N0eWxlUmVjYWxjKG1fb2JqZWN0LT5ub2Rl
KCkpOworICAgICAgICBpZiAoIXBhdXNlZCgpKQorICAgICAgICAgICAgc2V0TmVlZHNTdHlsZVJl
Y2FsYyhtX29iamVjdC0+bm9kZSgpKTsKICAgICB9CiB9CiAK
</data>
<flag name="review"
          id="15322"
          type_id="1"
          status="+"
          setter="simon.fraser"
    />
          </attachment>
      

    </bug>

</bugzilla>