Skip to main content

stylex_constants/constants/
unitless_number_properties.rs

1use phf::phf_set;
2
3// Using MDN data as a source of truth to populate the above sets
4// by group in alphabetical order:
5
6pub static UNITLESS_NUMBER_PROPERTIES: phf::Set<&'static str> = phf_set! {
7  "WebkitLineClamp",
8  "animationIterationCount",
9  "aspectRatio",
10  "borderImageOutset",
11  "borderImageSlice",
12  "borderImageWidth",
13  "counterSet",
14  "counterReset",
15  "columnCount",
16  "flex",
17  "flexGrow",
18  "flexShrink",
19  "flexOrder",
20  "gridRow",
21  "gridRowStart",
22  "gridRowEnd",
23  "gridColumn",
24  "gridColumnStart",
25  "gridColumnEnd",
26  "gridArea",
27  "fontWeight",
28  "hyphenateLimitChars",
29  "lineClamp",
30  "lineHeight",
31  "maskBorderOutset",
32  "maskBorderSlice",
33  "maskBorderWidth",
34  "opacity",
35  "order",
36  "orphans",
37  "tabSize",
38  "widows",
39  "zIndex",
40  "fillOpacity",
41  "floodOpacity",
42  "rotate",
43  "scale",
44  "shapeImageThreshold",
45  "stopOpacity",
46  "strokeDasharray",
47  "strokeDashoffset",
48  "strokeMiterlimit",
49  "strokeOpacity",
50  "strokeWidth",
51  "mathDepth",
52  "zoom",
53};