Skip to content
  • simon.fraser@apple.com's avatar
    2009-10-13 Simon Fraser <simon.fraser@apple.com> · 8a158ef0
    simon.fraser@apple.com authored
            Reviewed by Dan Bernstein.
    
            Visibility:visible inside a compositing layer doesn't make the element visible
            https://bugs.webkit.org/show_bug.cgi?id=30339
    
            When deciding if a layer had any renderable content, RenderLayerBacking::paintIntoLayer()
            only consulted hasVisibleContent(), which does not take into a account child layers which
            may be visible. We also have to consult hasVisibleDescendant() as well.
    
            Test: compositing/compositing-visible-descendant.html
    
            * rendering/RenderLayer.h:
            (WebCore::RenderLayer::hasVisibleDescendant):
            * rendering/RenderLayerBacking.cpp:
            (WebCore::RenderLayerBacking::paintIntoLayer):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8a158ef0