Changeset 149084 in webkit
- Timestamp:
- Apr 24, 2013, 6:27:20 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r149075 r149084 1 2013-04-24 Simon Fraser <simon.fraser@apple.com> 2 3 Garbage at the top of http://www.technologyreview.com after scrolling 4 https://bugs.webkit.org/show_bug.cgi?id=114825 5 6 Reviewed by Tim Horton. 7 8 Test that sets visibility:hidden on an element with some complex 9 configuration of layer children, and dumps the layer tree to check 10 that the contents are not marked as opaque. 11 12 * compositing/contents-opaque/visibility-hidden-expected.txt: Added. 13 * compositing/contents-opaque/visibility-hidden.html: Added. 14 1 15 2013-04-24 David Kilzer <ddkilzer@apple.com> 2 16 -
trunk/Source/WebCore/ChangeLog
r149083 r149084 1 2013-04-24 Simon Fraser <simon.fraser@apple.com> 2 3 Garbage at the top of http://www.technologyreview.com after scrolling 4 https://bugs.webkit.org/show_bug.cgi?id=114825 5 6 Reviewed by Tim Horton. 7 8 Garbage pixels are caused by GraphicsLayerCA setting a layer to be opaque, 9 but then not painting anything into it. On this page, the element is 10 toggled to be visibility:hidden on scrolling, but RenderLayer::backgroundIsKnownToBeOpaqueInRect() 11 failed to consider that as something that can cause backgrounds not to be opaque. 12 13 For the bug to happen, some subtle interactions with r142012 come into play 14 for the layer to remain visible, hence the slightly complex testcase. 15 16 Test: compositing/contents-opaque/visibility-hidden.html 17 18 * rendering/RenderLayer.cpp: 19 (WebCore::RenderLayer::backgroundIsKnownToBeOpaqueInRect): 20 1 21 2013-04-24 Simon Fraser <simon.fraser@apple.com> 2 22 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r149066 r149084 5565 5565 return false; 5566 5566 5567 ASSERT(!m_visibleContentStatusDirty); 5568 if (!hasVisibleContent()) 5569 return false; 5570 5567 5571 #if ENABLE(CSS_FILTERS) 5568 5572 if (paintsWithFilters() && renderer()->style()->filter().hasFilterThatAffectsOpacity())
Note:
See TracChangeset
for help on using the changeset viewer.