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

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

Issue 17090005: [CSS Grid Layout] Implement 'justify-self' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Scrubbed and rebaselined patch Created 7 years, 1 month 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 04d96a1d8d3f5de60cbad142b26ac9db9c540d95..096b1a919e41c35c20d0ebb7f3dc74e82e1f84a9 100644
--- a/Source/core/rendering/style/RenderStyleConstants.h
+++ b/Source/core/rendering/style/RenderStyleConstants.h
@@ -520,6 +520,27 @@ enum EIsolation { IsolationAuto, IsolationIsolate };
enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript };
+enum JustifySelf {
+ JustifySelfAuto,
+ JustifySelfStretch,
+ JustifySelfBaseline,
+ JustifySelfCenter,
+ JustifySelfStart,
+ JustifySelfEnd,
+ JustifySelfSelfStart,
+ JustifySelfSelfEnd,
+ JustifySelfFlexStart,
+ JustifySelfFlexEnd,
+ JustifySelfLeft,
+ JustifySelfRight
+};
+
+enum JustifySelfOverflowAlignment {
+ JustifySelfOverflowAlignmentDefault,
+ JustifySelfOverflowAlignmentTrue,
+ JustifySelfOverflowAlignmentSafe
+};
+
// 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