Skip to content
  • aestes@apple.com's avatar
    2010-10-25 Andy Estes <aestes@apple.com> · ac94e466
    aestes@apple.com authored
            Reviewed by Simon Fraser.
    
            Source change by Simon Fraser.
    
            Setting an element's visibility property to visible has no effect when
            it has a hidden parent.
            https://bugs.webkit.org/show_bug.cgi?id=48267
    
            Test: fast/layers/visible-layer-with-hidden-parent.html
    
            When a layer is hidden, there is an optimization that removes it from
            the layer tree. If the layer is made visible again, it would only mark
            its own stacking context's z-order list as dirty. If there are hidden
            parent layers, they need to be marked dirty as well so layers with
            visible descendents are re-added to the layer tree.
    
            * rendering/RenderLayer.cpp:
            (WebCore::RenderLayer::setHasVisibleContent): Dirty the z-order lists of
            all parent stacking context render layers up to and including the first
            visible stacking context.
    2010-10-25  Andy Estes  <aestes@apple.com>
    
            Reviewed by Simon Fraser.
    
            Setting an element's visibility property to visible has no effect when
            it has a hidden parent.
            https://bugs.webkit.org/show_bug.cgi?id=48267
    
            * fast/layers/visible-layer-with-hidden-parent-expected.txt: Added.
            * fast/layers/visible-layer-with-hidden-parent.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ac94e466