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

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

Issue 2932593004: Update the snap points css properties (Closed)
Patch Set: rebase 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 c0170a6393215e48bdd1901a06a64acd021bfc87..5aadd6118e172d3b1cad35f6c7e037e19c3f04ef 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -366,10 +366,22 @@ enum CSSBoxType {
kContentBox
};
-enum ScrollSnapType {
- kScrollSnapTypeNone,
- kScrollSnapTypeMandatory,
- kScrollSnapTypeProximity
+enum SnapAxis {
+ kSnapAxisNone,
+ kSnapAxisX,
+ kSnapAxisY,
+ kSnapAxisBlock,
+ kSnapAxisInline,
+ kSnapAxisBoth
+};
+
+enum SnapStrictness { kSnapStrictnessProximity, kSnapStrictnessMandatory };
+
+enum SnapAlignment {
+ kSnapAlignmentNone,
+ kSnapAlignmentStart,
+ kSnapAlignmentEnd,
+ kSnapAlignmentCenter
};
enum AutoRepeatType { kNoAutoRepeat, kAutoFill, kAutoFit };

Powered by Google App Engine
This is Rietveld 408576698