Skip to main content

stylex_constants/constants/
long_hand_physical.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 LONG_HAND_PHYSICAL: phf::Set<&'static str> = phf_set! {
7  "border-bottom-color",
8  "border-bottom-style",
9  "border-bottom-width",
10  "border-left-color",
11  "border-left-style",
12  "border-left-width",
13  "border-right-color",
14  "border-right-style",
15  "border-right-width",
16
17  "border-top-color",
18  "border-top-style",
19  "border-top-width",
20
21  "border-top-left-radius",
22  "border-top-right-radius",
23  "border-bottom-left-radius",
24  "border-bottom-right-radius",
25
26  "corner-top-left-shape",
27  "corner-top-right-shape",
28  "corner-bottom-left-shape",
29  "corner-bottom-right-shape",
30
31  "height",
32  "width",
33
34  "max-height",
35  "max-width",
36  "min-height",
37  "min-width",
38
39  "margin-top",
40  "margin-bottom",
41  "margin-left",
42  "margin-right",
43
44  "overscroll-behavior-y",
45  "overscroll-behavior-x",
46
47  "padding-top",
48  "padding-bottom",
49  "padding-left",
50  "padding-right",
51
52  "line-clamp",
53  "max-lines",
54
55  "overflow-y",
56  "overflow-x",
57
58
59  // CSS Positioning
60  "top",
61  "bottom",
62  "left",
63  "right",
64
65  // CSS Scroll Snap
66  "scroll-margin-top",
67  "scroll-margin-bottom",
68  "scroll-margin-left",
69  "scroll-margin-right",
70
71  "scroll-padding-top",
72  "scroll-padding-bottom",
73  "scroll-padding-left",
74  "scroll-padding-right",
75};