Skip to content
  • simon.fraser@apple.com's avatar
    2010-04-01 Simon Fraser <simon.fraser@apple.com> · 50f7bdca
    simon.fraser@apple.com authored
            Reviewed by Dan Bernstein.
    
            Assertion failure: !repaintContainer || repaintContainer == this
            https://bugs.webkit.org/show_bug.cgi?id=36672
    
            RenderText's implementation of clippedOverflowRectForRepaint() uses containingBlock()
            to get the renderer to use for computing the repaint rect. However, the renderer returned
            by containingBlock() may be an ancestor of the repaintContainer, and containingBlock()
            doesn't have the 'repaintContainerSkipped' logic that container() has.
    
            So in this case, check to see whether repaintContainer is actually a descendant of the
            containing block, and in that case just repaint the entire repaintContainer.
    
            Test: compositing/repaint/inline-repaint-container.html
    
            * rendering/RenderText.cpp:
            (WebCore::RenderText::clippedOverflowRectForRepaint):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    50f7bdca