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

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

Issue 2932593004: Update the snap points css properties (Closed)
Patch Set: Rebase and Add QuadLengthValue.h 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 a02b9b202510e0b98c849b2d278e031462ca67c0..a84b75c4e09e9bbf9d9c7f675ad116775523a692 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -360,10 +360,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