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

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

Issue 2154593003: [css-grid] Fix indefinite height detection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use 2 lines for bool includeBorderPadding Created 4 years, 5 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/LayoutBlock.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
index 7bae52d53cb095714bd28ad9b711e57f8a79c5fc..cdedb29d1408444440d92232df02a7f4e7fb25eb 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
@@ -226,6 +226,9 @@ public:
void checkPositionedObjectsNeedLayout();
#endif
+ static LayoutUnit availableLogicalHeightForPercentageComputation(const LayoutBlock&);
cbiesinger 2016/07/21 20:57:28 Why make this a static function and pass in a bloc
Manuel Rego 2016/07/22 13:05:37 Yeah good idea it can be a member const function,
+ bool hasDefiniteLogicalHeight() const;
+
protected:
bool recalcNormalFlowChildOverflowIfNeeded(LayoutObject*);
bool recalcPositionedDescendantsOverflowAfterStyleChange();

Powered by Google App Engine
This is Rietveld 408576698