-
mitz@apple.com authored
Reviewed by Antti Koivisto. - fix a bug in invisible layer culling: dynamically changing a descendant of an invisible layer to be visible did not work Test: fast/layers/layer-content-visibility-change.html * rendering/RenderLayer.cpp: (WebCore::RenderLayer::setHasVisibleContent): If we got visible content, make sure that our stacking context rebuilds its z-order lists to include us. LayoutTests: Reviewed by Antti Koivisto. - test that dynamically changing a descendant of an invisible layer to be visible works * fast/layers/layer-content-visibility-change.html: Added. * platform/mac/fast/layers/layer-content-visibility-change-expected.checksum: Added. * platform/mac/fast/layers/layer-content-visibility-change-expected.png: Added. * platform/mac/fast/layers/layer-content-visibility-change-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5a4bdf3e