• simon.fraser@apple.com's avatar
    ASSERT when a layer with a foreground layer is in 'paint into ancestor' mode · c0fc313a
    simon.fraser@apple.com authored
    Reviewed by Dean Jackson.
    When a RenderLayerBacking doesn't require its own backing store, and is
    in "paintIntoCompositingAncestor" mode, we would assert when trying to
    paint its m_foregroundLayer if it had one (because of a negative z-index child).
    The fix is to set the 'drawsContent' state on the m_foregroundLayer
    as well as m_graphicsLayer.
    Test: compositing/backing/no-backing-foreground-layer.html
    * rendering/RenderLayerBacking.cpp:
    Reviewed by Dean Jackson.
    New testcase.
    * compositing/backing/no-backing-foreground-layer-expected.txt: Added.
    * compositing/backing/no-backing-foreground-layer.html: Added.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 9.91 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.