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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h

Issue 2642763009: Fix paint and rect mapping issues for stacked float under stacked inline (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/paint/PaintPropertyTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
index c4386dc28f16417b15beb3c673e7f263c47a8098..b934f67fad2d4e249adf6008a8c4ebc4511eb3d6 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -65,10 +65,11 @@ struct PaintPropertyTreeBuilderContext {
ContainingBlockContext fixedPosition;
- // This is the same as current.paintOffset except when a floating object has
- // non-block ancestors under its containing block. Paint offsets of the
- // non-block ancestors should not be accumulated for the floating object.
- LayoutPoint paintOffsetForFloat;
+ // These are the same as current.paintOffset except when a floating object's
+ // parent is not a container. Paint offsets of the non-container ancestors
+ // should not be accumulated for the floating object.
+ LayoutPoint paintOffsetForNonStackedFloat;
+ LayoutPoint paintOffsetForStackedFloat;
// The effect hierarchy is applied by the stacking context tree. It is
// guaranteed that every DOM descendant is also a stacking context descendant.

Powered by Google App Engine
This is Rietveld 408576698