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

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

Issue 2649683003: Fix compositingContainer for stacked inlines. (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
index b9951cb076f9d0a0cca9958ef3bae76145cfb78a..85d6ab5c0169d04d6bfe9a3ad2bed05e52d7dec4 100644
--- a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
@@ -57,6 +57,7 @@ class GraphicsLayerUpdater::UpdateContext {
// TODO(chrishtr) this is not very performant for floats, but they should
// be uncommon enough, and SPv2 will remove this code.
if (layer.layoutObject()->isFloating() && layer.layoutObject()->parent() &&
+ !layer.stackingNode()->isStacked() &&
!layer.layoutObject()->parent()->isLayoutBlockFlow()) {
return layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf);
}

Powered by Google App Engine
This is Rietveld 408576698