[Webkit-unassigned] [Bug 130891] [CSS Blending] Blending doesn't work if the parent stacking context is a normal flow only element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 29 11:19:44 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=130891
Simon Fraser (smfr) <simon.fraser at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #230376|review? |review-
Flag| |
--- Comment #7 from Simon Fraser (smfr) <simon.fraser at apple.com> 2014-04-29 11:20:03 PST ---
(From update of attachment 230376)
View in context: https://bugs.webkit.org/attachment.cgi?id=230376&action=review
> Source/WebCore/rendering/RenderLayer.cpp:825
> + if (m_hasUnisolatedBlendingDescendantsStatusDirty) {
Do an early return instead of having the whole body indented.
> Source/WebCore/rendering/RenderLayerCompositor.cpp:1108
> +#if ENABLE(CSS_COMPOSITING)
> + layer.updateIsolationForBlendingDescendantsIfNeeded();
> +#endif
> layer.updateDescendantDependentFlags();
Can layer.updateIsolationForBlendingDescendantsIfNeeded() be rolled into layer.updateDescendantDependentFlags()? That would avoid adding an extra child walk.
> Source/WebCore/rendering/RenderLayerModelObject.cpp:157
> +#if ENABLE(CSS_COMPOSITING)
> + if (oldStyle->hasBlendMode())
> + layer()->parent()->dirtyAncestorChainHasBlendingDescendants();
> +#endif
Can't we do this in RenderLayer::styleChanged()?
> LayoutTests/ChangeLog:19
> + * css3/compositing/blend-mode-isolation-accelerated-overflow-hidden-expected.txt: Added.
> + * css3/compositing/blend-mode-isolation-accelerated-overflow-hidden.html: Added.
> + * css3/compositing/blend-mode-isolation-overflow-hidden-expected.html: Added.
> + * css3/compositing/blend-mode-isolation-overflow-hidden.html: Added.
> + * css3/compositing/blend-mode-isolation-turn-off-self-painting-layer-expected.txt: Added.
> + * css3/compositing/blend-mode-isolation-turn-off-self-painting-layer.html: Added.
> + * css3/compositing/blend-mode-isolation-turn-off-self-painting-layer1-expected.txt: Added.
> + * css3/compositing/blend-mode-isolation-turn-off-self-painting-layer1.html: Added.
> + * css3/compositing/blend-mode-isolation-turn-off-self-painting-layer2-expected.txt: Added.
> + * css3/compositing/blend-mode-isolation-turn-off-self-painting-layer2.html: Added.
> + * css3/compositing/blend-mode-isolation-turn-on-self-painting-layer-expected.txt: Added.
> + * css3/compositing/blend-mode-isolation-turn-on-self-painting-layer.html: Added.
Can we make these ref tests please?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list