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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_length_utils.h

Issue 2325073002: [LayoutNG] Handle border and padding when sizing a block and when placing its children. (Closed)
Patch Set: Use modern CSS terms, rather than old XSL terms, for box sides Created 4 years, 3 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/ng/ng_length_utils.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
index ee849bb8601aca97f0cb9ddc7706b216dacca5ba..96e50dc91f1b3aec7b9734a53afb95a92860af7f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
@@ -49,6 +49,21 @@ CORE_EXPORT LayoutUnit computeBlockSizeForFragment(const NGConstraintSpace&,
const ComputedStyle&,
LayoutUnit contentSize);
+CORE_EXPORT LayoutUnit
+computeBorderAndPaddingBlockStart(const NGConstraintSpace&,
+ const ComputedStyle&);
+
+CORE_EXPORT LayoutUnit computeBorderAndPaddingBlockEnd(const NGConstraintSpace&,
+ const ComputedStyle&);
+
+CORE_EXPORT LayoutUnit
+computeBorderAndPaddingInlineStart(const NGConstraintSpace&,
+ const ComputedStyle&);
+
+CORE_EXPORT LayoutUnit
+computeBorderAndPaddingInlineEnd(const NGConstraintSpace&,
+ const ComputedStyle&);
+
CORE_EXPORT NGBoxStrut computeMargins(const NGConstraintSpace&,
const ComputedStyle&);

Powered by Google App Engine
This is Rietveld 408576698