1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position> ")]
22#[derive(
23 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
24)]
25#[declaration_metadata(
26 initial = "normal",
27 applies_to = Unknown,
28 animation_type = Discrete,
29 shorthand_group = PlaceContent,
30 property_group = Align,
31 computed_value_type = Unknown,
32 canonical_order = "per grammar",
33)]
34#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
35#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.align-content"))]
36#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
37#[derive(csskit_derives::NodeWithMetadata)]
38pub enum AlignContentStyleValue {}
39
40#[syntax(" normal | stretch | <baseline-position> | <overflow-position>? <self-position> ")]
52#[derive(
53 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
54)]
55#[declaration_metadata(
56 initial = "normal",
57 applies_to = Elements,
58 animation_type = Discrete,
59 shorthand_group = PlaceItems,
60 property_group = Align,
61 computed_value_type = Unknown,
62 canonical_order = "per grammar",
63)]
64#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
65#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.align-items"))]
66#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
67#[derive(csskit_derives::NodeWithMetadata)]
68pub enum AlignItemsStyleValue {}
69
70#[syntax(" auto | <overflow-position>? [ normal | <self-position> ]| stretch | <baseline-position> ")]
82#[derive(
83 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
84)]
85#[declaration_metadata(
86 initial = "auto",
87 applies_to = Unknown,
88 animation_type = Discrete,
89 shorthand_group = PlaceSelf,
90 property_group = Align,
91 computed_value_type = Unknown,
92 canonical_order = "per grammar",
93)]
94#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
95#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.align-self"))]
96#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
97#[derive(csskit_derives::NodeWithMetadata)]
98pub enum AlignSelfStyleValue {}
99
100#[syntax(" normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ")]
112#[derive(
113 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
114)]
115#[declaration_metadata(
116 initial = "normal",
117 applies_to = Unknown,
118 animation_type = Discrete,
119 shorthand_group = PlaceContent,
120 property_group = Align,
121 computed_value_type = Unknown,
122 canonical_order = "per grammar",
123)]
124#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
125#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.justify-content"))]
126#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
127#[derive(csskit_derives::NodeWithMetadata)]
128pub enum JustifyContentStyleValue {}
129
130#[syntax(
142 " normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] "
143)]
144#[derive(
145 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
146)]
147#[declaration_metadata(
148 initial = "legacy",
149 applies_to = Elements,
150 animation_type = Discrete,
151 shorthand_group = PlaceItems,
152 property_group = Align,
153 computed_value_type = Unknown,
154 canonical_order = "per grammar",
155)]
156#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
157#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.justify-items"))]
158#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
159#[derive(csskit_derives::NodeWithMetadata)]
160pub enum JustifyItemsStyleValue {}
161
162#[syntax(" auto | <overflow-position>? [ normal | <self-position> | left | right ] | stretch | <baseline-position> ")]
174#[derive(
175 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
176)]
177#[declaration_metadata(
178 initial = "auto",
179 applies_to = Unknown,
180 animation_type = Discrete,
181 shorthand_group = PlaceSelf,
182 property_group = Align,
183 computed_value_type = Unknown,
184 canonical_order = "per grammar",
185)]
186#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
187#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.justify-self"))]
188#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
189#[derive(csskit_derives::NodeWithMetadata)]
190pub enum JustifySelfStyleValue {}
191
192#[syntax(" <'align-content'> <'justify-content'>? ")]
204#[derive(
205 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
206)]
207#[declaration_metadata(
208 initial = "normal",
209 applies_to = Unknown,
210 animation_type = Discrete,
211 longhands = AlignContent|JustifyContent,
212 property_group = Align,
213 computed_value_type = Unknown,
214 canonical_order = "per grammar",
215)]
216#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
217#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.place-content"))]
218#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
219#[derive(csskit_derives::NodeWithMetadata)]
220pub struct PlaceContentStyleValue;
221
222#[syntax(" <'align-items'> <'justify-items'>? ")]
234#[derive(
235 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
236)]
237#[declaration_metadata(
238 initial = "see individual properties",
239 applies_to = Elements,
240 animation_type = Discrete,
241 longhands = AlignItems|JustifyItems,
242 property_group = Align,
243 computed_value_type = Unknown,
244 canonical_order = "per grammar",
245)]
246#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
247#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.place-items"))]
248#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
249#[derive(csskit_derives::NodeWithMetadata)]
250pub struct PlaceItemsStyleValue;
251
252#[syntax(" <'align-self'> <'justify-self'>? ")]
264#[derive(
265 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
266)]
267#[declaration_metadata(
268 initial = "auto",
269 applies_to = Unknown,
270 animation_type = Discrete,
271 longhands = AlignSelf|JustifySelf,
272 property_group = Align,
273 computed_value_type = Unknown,
274 canonical_order = "per grammar",
275)]
276#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
277#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.place-self"))]
278#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
279#[derive(csskit_derives::NodeWithMetadata)]
280pub struct PlaceSelfStyleValue;