@@ -904,5 +904,37 @@ static class Map
904
904
{ CssKeywords . Hidden , Visibility . Hidden } ,
905
905
{ CssKeywords . Collapse , Visibility . Collapse } ,
906
906
} ;
907
+
908
+ /// <summary>
909
+ /// Contains the scroll-snap-axis mapping.
910
+ /// </summary>
911
+ public static readonly Dictionary < String , ScrollSnapAxis > ScrollSnapAxises = new Dictionary < String , ScrollSnapAxis > ( StringComparer . OrdinalIgnoreCase )
912
+ {
913
+ { CssKeywords . X , ScrollSnapAxis . X } ,
914
+ { CssKeywords . Y , ScrollSnapAxis . Y } ,
915
+ { CssKeywords . Block , ScrollSnapAxis . Block } ,
916
+ { CssKeywords . Inline , ScrollSnapAxis . Inline } ,
917
+ { CssKeywords . Both , ScrollSnapAxis . Both } ,
918
+ } ;
919
+
920
+ /// <summary>
921
+ /// Contains the scroll-snap-strictness mapping.
922
+ /// </summary>
923
+ public static readonly Dictionary < String , ScrollSnapStrictness > ScrollSnapStrictnesses = new Dictionary < String , ScrollSnapStrictness > ( StringComparer . OrdinalIgnoreCase )
924
+ {
925
+ { CssKeywords . Proximity , ScrollSnapStrictness . Proximity } ,
926
+ { CssKeywords . Mandatory , ScrollSnapStrictness . Mandatory } ,
927
+ } ;
928
+
929
+ /// <summary>
930
+ /// Contains the scroll-snap-align mapping.
931
+ /// </summary>
932
+ public static readonly Dictionary < String , ScrollSnapAlign > ScrollSnapAlignments = new Dictionary < String , ScrollSnapAlign > ( StringComparer . OrdinalIgnoreCase )
933
+ {
934
+ { CssKeywords . None , ScrollSnapAlign . None } ,
935
+ { CssKeywords . Start , ScrollSnapAlign . Start } ,
936
+ { CssKeywords . End , ScrollSnapAlign . End } ,
937
+ { CssKeywords . Center , ScrollSnapAlign . Center } ,
938
+ } ;
907
939
}
908
940
}
0 commit comments