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

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

Issue 2681783004: Use Initial Containing Block size for vertical (Closed)
Patch Set: Final CR fixes Created 3 years, 10 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_constraint_space.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
index 35622c7f22cb78b3cf70c42f8ad3ff528a5ca3f6..9488259c6ab56c3646d63ac9595295708d09fa43 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
@@ -123,6 +123,7 @@ class CORE_EXPORT NGConstraintSpace final
TextDirection,
NGLogicalSize available_size,
NGLogicalSize percentage_resolution_size,
+ NGPhysicalSize initial_containing_block_size,
LayoutUnit fragmentainer_space_available,
bool is_fixed_size_inline,
bool is_fixed_size_block,
@@ -135,8 +136,13 @@ class CORE_EXPORT NGConstraintSpace final
const NGLogicalOffset& bfc_offset,
const std::shared_ptr<NGExclusions>& exclusions);
+ NGPhysicalSize InitialContainingBlockSize() const {
+ return initial_containing_block_size_;
+ }
+
NGLogicalSize available_size_;
NGLogicalSize percentage_resolution_size_;
+ NGPhysicalSize initial_containing_block_size_;
LayoutUnit fragmentainer_space_available_;
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698