WebCore:
Reviewed by Dave Hyatt and Sam Weinig.
- fix <rdar://problem/
5605937> Inspector: Disclosure triangle not drawn in node's properties panel until click
Test: fast/layers/add-layer-with-nested-stacking.html
Test: fast/layers/remove-layer-with-nested-stacking.html
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::addChild): If the new child is overflow-only
but has children of its own, dirty the stacking context's z-order lists
since the grandchildren might need to be in them.
(WebCore::RenderLayer::removeChild): Similarly for the old child.
LayoutTests:
Reviewed by Dave Hyatt and Sam Weinig.
- pixel tests for <rdar://problem/
5605937> Inspector: Disclosure triangle not drawn in node's properties panel until click
* fast/layers/add-layer-with-nested-stacking.html: Added.
* fast/layers/remove-layer-with-nested-stacking.html: Added.
* platform/mac/fast/layers/add-layer-with-nested-stacking-expected.checksum: Added.
* platform/mac/fast/layers/add-layer-with-nested-stacking-expected.png: Added.
* platform/mac/fast/layers/add-layer-with-nested-stacking-expected.txt: Added.
* platform/mac/fast/layers/remove-layer-with-nested-stacking-expected.checksum: Added.
* platform/mac/fast/layers/remove-layer-with-nested-stacking-expected.png: Added.
* platform/mac/fast/layers/remove-layer-with-nested-stacking-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29007
268f45cc-cd09-0410-ab3c-
d52691b4dbfc