Changeset 27651 in webkit
- Timestamp:
- Nov 9, 2007, 12:03:17 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r27649 r27651 1 2007-11-09 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Antti Koivisto. 4 5 - test that dynamically changing a descendant of an invisible layer to 6 be visible works 7 8 * fast/layers/layer-content-visibility-change.html: Added. 9 * platform/mac/fast/layers/layer-content-visibility-change-expected.checksum: Added. 10 * platform/mac/fast/layers/layer-content-visibility-change-expected.png: Added. 11 * platform/mac/fast/layers/layer-content-visibility-change-expected.txt: Added. 12 1 13 2007-11-09 Beth Dakin <bdakin@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r27650 r27651 1 2007-11-09 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Antti Koivisto. 4 5 - fix a bug in invisible layer culling: dynamically changing a 6 descendant of an invisible layer to be visible did not work 7 8 Test: fast/layers/layer-content-visibility-change.html 9 10 * rendering/RenderLayer.cpp: 11 (WebCore::RenderLayer::setHasVisibleContent): If we got visible content, 12 make sure that our stacking context rebuilds its z-order lists to 13 include us. 14 1 15 2007-11-09 David Hyatt <hyatt@apple.com> 2 16 -
trunk/WebCore/rendering/RenderLayer.cpp
r27585 r27651 246 246 } 247 247 248 void RenderLayer::setHasVisibleContent(bool b) 248 void RenderLayer::setHasVisibleContent(bool b) 249 249 { 250 250 if (m_hasVisibleContent == b && !m_visibleContentStatusDirty) … … 255 255 m_repaintRect = renderer()->absoluteClippedOverflowRect(); 256 256 m_outlineBox = renderer()->absoluteOutlineBox(); 257 if (!isOverflowOnly()) { 258 if (RenderLayer* sc = stackingContext()) 259 sc->dirtyZOrderLists(); 260 } 257 261 } 258 262 if (parent())
Note:
See TracChangeset
for help on using the changeset viewer.