Changeset 105906 in webkit
- Timestamp:
- Jan 25, 2012 11:53:05 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r105904 r105906 1 2012-01-25 Shawn Singh <shawnsingh@chromium.org> 2 3 Fix the semantics of passing contentsVisible flag to GraphicsLayers 4 https://bugs.webkit.org/show_bug.cgi?id=76975 5 6 Reviewed by Simon Fraser. 7 8 * compositing/visibility/layer-visible-content-expected.txt: rebaselined expectations. 9 * compositing/visibility/visibility-image-layers-dynamic-expected.txt: rebaselined expectations. 10 * platform/chromium/test_expectations.txt: removed the expectation that the test fails on chromium, it should pass now. 11 1 12 2012-01-25 MORITA Hajime <morrita@google.com> 2 13 -
trunk/LayoutTests/compositing/visibility/layer-visible-content-expected.txt
r105471 r105906 4 4 (GraphicsLayer 5 5 (bounds 800.00 600.00) 6 (children 16 (children 2 7 7 (GraphicsLayer 8 8 (bounds 200.00 200.00) 9 9 (drawsContent 1) 10 (contentsVisible 0)11 10 (children 1 12 11 (GraphicsLayer … … 20 19 ) 21 20 ) 21 (GraphicsLayer 22 (bounds 800.00 15.00) 23 (opacity 0.00) 24 (drawsContent 1) 25 ) 22 26 ) 23 27 ) -
trunk/LayoutTests/compositing/visibility/visibility-image-layers-dynamic-expected.txt
r98735 r105906 36 36 (position 14.00 314.00) 37 37 (bounds 757.00 152.00) 38 (contentsVisible 0)39 38 (children 1 40 39 (GraphicsLayer … … 51 50 52 51 (GraphicsLayer 53 (bounds 785.00 1 301.00)52 (bounds 785.00 1286.00) 54 53 (children 1 55 54 (GraphicsLayer 56 (bounds 785.00 1 301.00)55 (bounds 785.00 1286.00) 57 56 (children 3 58 57 (GraphicsLayer … … 81 80 (position 14.00 314.00) 82 81 (bounds 757.00 152.00) 83 (contentsVisible 0)84 82 (children 1 85 83 (GraphicsLayer … … 96 94 97 95 (GraphicsLayer 98 (bounds 785.00 19 65.00)96 (bounds 785.00 1935.00) 99 97 (children 1 100 98 (GraphicsLayer 101 (bounds 785.00 19 65.00)99 (bounds 785.00 1935.00) 102 100 (children 3 103 101 (GraphicsLayer … … 125 123 (position 14.00 314.00) 126 124 (bounds 757.00 152.00) 127 (contentsVisible 0)128 125 (children 1 129 126 (GraphicsLayer -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r105895 r105906 4005 4005 BUGWK76572 : http/tests/download = FAIL 4006 4006 4007 BUGWK76716 : compositing/visibility/layer-visible-content.html = IMAGE+TEXT4008 4009 4007 BUGWK76967 : media/media-fragments/TC0030-TC0039.html = PASS TIMEOUT 4010 4008 -
trunk/Source/WebCore/ChangeLog
r105903 r105906 1 2012-01-25 Shawn Singh <shawnsingh@chromium.org> 2 3 Fix the semantics of passing contentsVisible flag to GraphicsLayers 4 https://bugs.webkit.org/show_bug.cgi?id=76975 5 6 Reviewed by Simon Fraser. 7 8 This patch is covered by existing tests, in particular 9 compositing/visibility/layer-visible-content.html; its 10 expectations are rebaselined. 11 12 * rendering/RenderLayerBacking.cpp: 13 (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): 14 1 15 2012-01-25 Tony Chang <tony@chromium.org> 2 16 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r105757 r105906 404 404 405 405 m_owningLayer->updateVisibilityStatus(); 406 m_graphicsLayer->setContentsVisible(m_owningLayer->hasVisibleContent()); 406 407 // m_graphicsLayer is the corresponding GraphicsLayer for this RenderLayer and its non-compositing 408 // descendants. So, the visibility flag for m_graphicsLayer should be true if there are any 409 // non-compositing visible layers. 410 m_graphicsLayer->setContentsVisible(m_owningLayer->hasVisibleContent() || m_owningLayer->hasVisibleDescendant()); 407 411 408 412 RenderStyle* style = renderer()->style();
Note: See TracChangeset
for help on using the changeset viewer.