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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 1876123002: Absolute positioned child with percent should include containing block padding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add commit message Created 4 years, 8 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index eaf9d7b966fde6ce720d236b14cd6d6a23c28d6d..2e82707bc88290c47d38f87d1c585266c7487a17 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -662,6 +662,7 @@ public:
bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect&, VisualRectFlags = DefaultVisualRectFlags) const override;
virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants);
+ LayoutUnit containingBlockLogicalWidthForGetComputedStyle() const;
LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const;
LayoutUnit containingBlockLogicalWidthForContent() const override;

Powered by Google App Engine
This is Rietveld 408576698