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

Unified Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 636993002: [CSS Grid Layout] Upgrade justify-content parsing to CSS3 Box Alignment spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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: Source/core/rendering/style/RenderStyleConstants.h
diff --git a/Source/core/rendering/style/RenderStyleConstants.h b/Source/core/rendering/style/RenderStyleConstants.h
index a58e2fd766fa0a939d753b841e005c897ca168d1..7444f34a6d44bd5b658c781407530bcf49d13d82 100644
--- a/Source/core/rendering/style/RenderStyleConstants.h
+++ b/Source/core/rendering/style/RenderStyleConstants.h
@@ -544,6 +544,27 @@ enum ItemPositionType {
LegacyPosition
};
+enum ContentPosition {
+ ContentPositionAuto,
+ ContentPositionBaseline,
+ ContentPositionLastBaseline,
+ ContentPositionCenter,
+ ContentPositionStart,
+ ContentPositionEnd,
+ ContentPositionFlexStart,
+ ContentPositionFlexEnd,
+ ContentPositionLeft,
+ ContentPositionRight
+};
+
+enum ContentDistributionType {
+ ContentDistributionDefault,
+ ContentDistributionSpaceBetween,
+ ContentDistributionSpaceAround,
+ ContentDistributionSpaceEvenly,
+ ContentDistributionStretch
+};
+
// Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows).
static const float maximumAllowedFontSize = 1000000.0f;

Powered by Google App Engine
This is Rietveld 408576698