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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2932593004: Update the snap points css properties (Closed)
Patch Set: Fix nits Created 3 years, 6 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/style/ComputedStyleConstants.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
index 243afcd4ba8d6753358490f3636283b85a0ad662..c381ef9ba389c2cb85d813fc1bd3eadabf3cf7fe 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -350,10 +350,21 @@ enum CSSBoxType {
kContentBox
};
-enum ScrollSnapType {
- kScrollSnapTypeNone,
- kScrollSnapTypeMandatory,
- kScrollSnapTypeProximity
+enum SnapAxis {
+ kSnapAxisBoth,
+ kSnapAxisX,
+ kSnapAxisY,
+ kSnapAxisBlock,
+ kSnapAxisInline,
+};
+
+enum SnapStrictness { kSnapStrictnessProximity, kSnapStrictnessMandatory };
+
+enum SnapAlignment {
+ kSnapAlignmentNone,
+ kSnapAlignmentStart,
+ kSnapAlignmentEnd,
+ kSnapAlignmentCenter
};
enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit };

Powered by Google App Engine
This is Rietveld 408576698