1#![allow(warnings)]
2mod impls;
5use super::prelude::*;
6use impls::*;
7#[syntax(" auto | <length-percentage> ")]
19#[derive(
20 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
21)]
22#[declaration_metadata(
23 initial = "auto",
24 applies_to = Unknown,
25 percentages = ContainingBlock,
26 animation_type = ByComputedValue,
27 property_group = Position,
28 computed_value_type = Unknown,
29 canonical_order = "per grammar",
30 logical_property_group = Inset,
31 box_side = Bottom,
32 box_portion = Position,
33)]
34#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
35#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.bottom"))]
36#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
37pub struct BottomStyleValue;
38
39#[syntax(" <'top'>{1,4} ")]
51#[derive(
52 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
53)]
54#[declaration_metadata(
55 initial = "auto",
56 applies_to = Unknown,
57 percentages = Unknown,
58 animation_type = ByComputedValue,
59 property_group = Position,
60 computed_value_type = Unknown,
61 canonical_order = "per grammar",
62 box_portion = Position,
63)]
64#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
65#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset"))]
66#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
67pub struct InsetStyleValue;
68
69#[syntax(" <'top'>{1,2} ")]
81#[derive(
82 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
83)]
84#[declaration_metadata(
85 initial = "auto",
86 applies_to = Unknown,
87 percentages = Unknown,
88 animation_type = ByComputedValue,
89 property_group = Position,
90 computed_value_type = Unknown,
91 canonical_order = "per grammar",
92 box_side = BlockStart|BlockEnd,
93 box_portion = Position,
94)]
95#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
96#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-block"))]
97#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
98pub struct InsetBlockStyleValue;
99
100#[syntax(" auto | <length-percentage> ")]
112#[derive(
113 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
114)]
115#[declaration_metadata(
116 initial = "auto",
117 applies_to = Unknown,
118 percentages = ContainingBlock,
119 animation_type = ByComputedValue,
120 property_group = Position,
121 computed_value_type = Unknown,
122 canonical_order = "per grammar",
123 logical_property_group = Inset,
124 box_side = BlockEnd,
125 box_portion = Position,
126)]
127#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
128#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-block-end"))]
129#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
130pub struct InsetBlockEndStyleValue;
131
132#[syntax(" auto | <length-percentage> ")]
144#[derive(
145 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
146)]
147#[declaration_metadata(
148 initial = "auto",
149 applies_to = Unknown,
150 percentages = ContainingBlock,
151 animation_type = ByComputedValue,
152 property_group = Position,
153 computed_value_type = Unknown,
154 canonical_order = "per grammar",
155 logical_property_group = Inset,
156 box_side = BlockStart,
157 box_portion = Position,
158)]
159#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
160#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-block-start"))]
161#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
162pub struct InsetBlockStartStyleValue;
163
164#[syntax(" <'top'>{1,2} ")]
176#[derive(
177 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
178)]
179#[declaration_metadata(
180 initial = "auto",
181 applies_to = Unknown,
182 percentages = Unknown,
183 animation_type = ByComputedValue,
184 property_group = Position,
185 computed_value_type = Unknown,
186 canonical_order = "per grammar",
187 box_side = InlineStart|InlineEnd,
188 box_portion = Position,
189)]
190#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
191#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-inline"))]
192#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
193pub struct InsetInlineStyleValue;
194
195#[syntax(" auto | <length-percentage> ")]
207#[derive(
208 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
209)]
210#[declaration_metadata(
211 initial = "auto",
212 applies_to = Unknown,
213 percentages = ContainingBlock,
214 animation_type = ByComputedValue,
215 property_group = Position,
216 computed_value_type = Unknown,
217 canonical_order = "per grammar",
218 logical_property_group = Inset,
219 box_side = InlineEnd,
220 box_portion = Position,
221)]
222#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
223#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-inline-end"))]
224#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
225pub struct InsetInlineEndStyleValue;
226
227#[syntax(" auto | <length-percentage> ")]
239#[derive(
240 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
241)]
242#[declaration_metadata(
243 initial = "auto",
244 applies_to = Unknown,
245 percentages = ContainingBlock,
246 animation_type = ByComputedValue,
247 property_group = Position,
248 computed_value_type = Unknown,
249 canonical_order = "per grammar",
250 logical_property_group = Inset,
251 box_side = InlineStart,
252 box_portion = Position,
253)]
254#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
255#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-inline-start"))]
256#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
257pub struct InsetInlineStartStyleValue;
258
259#[syntax(" auto | <length-percentage> ")]
271#[derive(
272 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
273)]
274#[declaration_metadata(
275 initial = "auto",
276 applies_to = Unknown,
277 percentages = ContainingBlock,
278 animation_type = ByComputedValue,
279 property_group = Position,
280 computed_value_type = Unknown,
281 canonical_order = "per grammar",
282 logical_property_group = Inset,
283 box_side = Left,
284 box_portion = Position,
285)]
286#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
287#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.left"))]
288#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
289pub struct LeftStyleValue;
290
291#[syntax(" none | auto ")]
303#[derive(
304 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
305)]
306#[declaration_metadata(
307 initial = "none",
308 applies_to = Elements,
309 animation_type = Unknown,
310 property_group = Position,
311 computed_value_type = AsSpecified,
312 canonical_order = "per grammar",
313)]
314#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
315#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overlay"))]
316#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
317pub enum OverlayStyleValue {}
318
319#[syntax(" static | relative | absolute | sticky | fixed ")]
331#[derive(
332 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
333)]
334#[declaration_metadata(
335 initial = "static",
336 applies_to = Unknown,
337 animation_type = Discrete,
338 property_group = Position,
339 computed_value_type = Unknown,
340 canonical_order = "per grammar",
341 box_portion = Position,
342)]
343#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
344#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.position"))]
345#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
346pub enum PositionStyleValue {}
347
348#[syntax(" auto | <length-percentage> ")]
360#[derive(
361 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
362)]
363#[declaration_metadata(
364 initial = "auto",
365 applies_to = Unknown,
366 percentages = ContainingBlock,
367 animation_type = ByComputedValue,
368 property_group = Position,
369 computed_value_type = Unknown,
370 canonical_order = "per grammar",
371 logical_property_group = Inset,
372 box_side = Right,
373 box_portion = Position,
374)]
375#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
376#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.right"))]
377#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
378pub struct RightStyleValue;
379
380#[syntax(" auto | <length-percentage> ")]
392#[derive(
393 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
394)]
395#[declaration_metadata(
396 initial = "auto",
397 applies_to = Unknown,
398 percentages = ContainingBlock,
399 animation_type = ByComputedValue,
400 property_group = Position,
401 computed_value_type = Unknown,
402 canonical_order = "per grammar",
403 logical_property_group = Inset,
404 box_side = Top,
405 box_portion = Position,
406)]
407#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
408#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.top"))]
409#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
410pub struct TopStyleValue;