Skip to content
  • inferno@chromium.org's avatar
    Crash in RenderInline::willBeDestroyed. · d5c211b5
    inferno@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=89386
    
    Reviewed by Julien Chaffraix.
    
    Source/WebCore:
    
    We were unable to find the previous continuation during the process
    of cleaning up empty anonymous block continuation. The reason being
    that we were just looking till our immediate parent and ignoring the
    fact that it can be enclosed in anonymous blocks. The change skips
    over anonymous blocks in the parent chain.
    
    Test: fullscreen/empty-anonymous-block-continuation-crash.html
    
    * rendering/RenderBlock.cpp:
    (WebCore::RenderBlock::removeChild):
    
    LayoutTests:
    
    * fullscreen/empty-anonymous-block-continuation-crash-expected.txt: Added.
    * fullscreen/empty-anonymous-block-continuation-crash.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d5c211b5