Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2232013002: CSS filters: fix filtered parent with animated transform child. Base URL: https://chromium.googlesource.com/chromium/src.git@filter-bounds-transformed-composited-child
Patch Set: Update to ToT Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/animation/CompositorAnimations.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index f10007a9157adcbfd4525b9c31d43fdaf037d500..2dd446103701d3415f745ac25d3029d653d5f869 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -271,6 +271,11 @@ void CompositedLayerMapping::updateTransform(const ComputedStyle& style)
void CompositedLayerMapping::updateFilters(const ComputedStyle& style)
{
m_graphicsLayer->setFilters(owningLayer().computeFilterOperations(style));
+ for (PaintLayer* layer = owningLayer().parent(); layer; layer = layer->parent()) {
+ if (layer->layoutObject() && layer->graphicsLayerBacking() && layer->layoutObject()->style()) {
+ layer->graphicsLayerBacking()->setFilters(layer->computeFilterOperations(*layer->layoutObject()->style()));
+ }
+ }
}
void CompositedLayerMapping::updateBackdropFilters(const ComputedStyle& style)
« no previous file with comments | « third_party/WebKit/Source/core/animation/CompositorAnimations.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698