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

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

Issue 2655783006: Top down version of algorithm to position margins and floats in LayoutNG (Closed)
Patch Set: git rebase-update 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/ng/ng_box_fragment.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h
index dc105ae47cdd06567ab53bf32a608df2e22c750f..6695b352092e41e471adfe1f8baf2e68e27eec1a 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h
@@ -20,7 +20,9 @@ class CORE_EXPORT NGBoxFragment final : public NGFragment {
NGPhysicalBoxFragment* physical_fragment)
: NGFragment(writing_mode, direction, physical_fragment) {}
- NGDeprecatedMarginStrut MarginStrut() const;
+ const WTF::Optional<NGLogicalOffset>& BfcOffset() const;
+
+ const NGMarginStrut& EndMarginStrut() const;
};
DEFINE_TYPE_CASTS(NGBoxFragment,

Powered by Google App Engine
This is Rietveld 408576698