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

Unified Diff: Source/WebCore/platform/Length.h

Issue 13674002: Support intrinsic values for height, min-height and max-height (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CSS table tests Created 7 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
« no previous file with comments | « Source/WebCore/css/StyleBuilder.cpp ('k') | Source/WebCore/rendering/RenderBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/Length.h
diff --git a/Source/WebCore/platform/Length.h b/Source/WebCore/platform/Length.h
index 64cb9b8f74631dd2ccb35b4edf6de25a1973598e..9e95cf8504839efefad2947b5d92d6e5c6190247 100644
--- a/Source/WebCore/platform/Length.h
+++ b/Source/WebCore/platform/Length.h
@@ -228,6 +228,8 @@ public:
bool isCalculatedEqual(const Length&) const;
bool isMinContent() const { return type() == MinContent; }
bool isMaxContent() const { return type() == MaxContent; }
+ bool isFillAvailable() const { return type() == FillAvailable; }
+ bool isFitContent() const { return type() == FitContent; }
Length blend(const Length& from, double progress) const
{
« no previous file with comments | « Source/WebCore/css/StyleBuilder.cpp ('k') | Source/WebCore/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698