1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" auto | <length-percentage> ")]
22#[derive(
23 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
24)]
25#[declaration_metadata(
26 initial = "auto",
27 applies_to = Unknown,
28 animation_type = ByComputedValue,
29 percentages = ContainingBlock,
30 shorthands = Inset,
31 property_group = Position,
32 computed_value_type = Unknown,
33 canonical_order = "per grammar",
34 logical_property_group = Inset,
35 box_side = Bottom,
36 box_portion = Position,
37)]
38#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
39#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.bottom"))]
40#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
41#[derive(csskit_derives::NodeWithMetadata)]
42pub struct BottomStyleValue<'a>;
43
44#[syntax(" <'top'>{1,4} ")]
56#[derive(
57 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
58)]
59#[declaration_metadata(
60 initial = "auto",
61 applies_to = Unknown,
62 animation_type = ByComputedValue,
63 percentages = Unknown,
64 longhands = Top|Right|Bottom|Left,
65 property_group = Position,
66 computed_value_type = Unknown,
67 canonical_order = "per grammar",
68 box_portion = Position,
69)]
70#[declaration_writes(repeat)]
71#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
72#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset"))]
73#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
74#[derive(csskit_derives::NodeWithMetadata)]
75pub struct InsetStyleValue<'a>;
76
77#[syntax(" <'top'>{1,2} ")]
89#[derive(
90 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
91)]
92#[declaration_metadata(
93 initial = "auto",
94 applies_to = Unknown,
95 animation_type = ByComputedValue,
96 percentages = Unknown,
97 longhands = InsetBlockStart|InsetBlockEnd,
98 property_group = Position,
99 computed_value_type = Unknown,
100 canonical_order = "per grammar",
101 box_side = BlockStart|BlockEnd,
102 box_portion = Position,
103)]
104#[declaration_writes(repeat)]
105#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
106#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-block"))]
107#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
108#[derive(csskit_derives::NodeWithMetadata)]
109pub struct InsetBlockStyleValue<'a>;
110
111#[syntax(" auto | <length-percentage> ")]
123#[derive(
124 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
125)]
126#[declaration_metadata(
127 initial = "auto",
128 applies_to = Unknown,
129 animation_type = ByComputedValue,
130 percentages = ContainingBlock,
131 shorthands = InsetBlock,
132 property_group = Position,
133 computed_value_type = Unknown,
134 canonical_order = "per grammar",
135 logical_property_group = Inset,
136 box_side = BlockEnd,
137 box_portion = Position,
138)]
139#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
140#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-block-end"))]
141#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
142#[derive(csskit_derives::NodeWithMetadata)]
143pub struct InsetBlockEndStyleValue<'a>;
144
145#[syntax(" auto | <length-percentage> ")]
157#[derive(
158 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
159)]
160#[declaration_metadata(
161 initial = "auto",
162 applies_to = Unknown,
163 animation_type = ByComputedValue,
164 percentages = ContainingBlock,
165 shorthands = InsetBlock,
166 property_group = Position,
167 computed_value_type = Unknown,
168 canonical_order = "per grammar",
169 logical_property_group = Inset,
170 box_side = BlockStart,
171 box_portion = Position,
172)]
173#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
174#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-block-start"))]
175#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
176#[derive(csskit_derives::NodeWithMetadata)]
177pub struct InsetBlockStartStyleValue<'a>;
178
179#[syntax(" <'top'>{1,2} ")]
191#[derive(
192 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
193)]
194#[declaration_metadata(
195 initial = "auto",
196 applies_to = Unknown,
197 animation_type = ByComputedValue,
198 percentages = Unknown,
199 longhands = InsetInlineStart|InsetInlineEnd,
200 property_group = Position,
201 computed_value_type = Unknown,
202 canonical_order = "per grammar",
203 box_side = InlineStart|InlineEnd,
204 box_portion = Position,
205)]
206#[declaration_writes(repeat)]
207#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
208#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-inline"))]
209#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
210#[derive(csskit_derives::NodeWithMetadata)]
211pub struct InsetInlineStyleValue<'a>;
212
213#[syntax(" auto | <length-percentage> ")]
225#[derive(
226 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
227)]
228#[declaration_metadata(
229 initial = "auto",
230 applies_to = Unknown,
231 animation_type = ByComputedValue,
232 percentages = ContainingBlock,
233 shorthands = InsetInline,
234 property_group = Position,
235 computed_value_type = Unknown,
236 canonical_order = "per grammar",
237 logical_property_group = Inset,
238 box_side = InlineEnd,
239 box_portion = Position,
240)]
241#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
242#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-inline-end"))]
243#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
244#[derive(csskit_derives::NodeWithMetadata)]
245pub struct InsetInlineEndStyleValue<'a>;
246
247#[syntax(" auto | <length-percentage> ")]
259#[derive(
260 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
261)]
262#[declaration_metadata(
263 initial = "auto",
264 applies_to = Unknown,
265 animation_type = ByComputedValue,
266 percentages = ContainingBlock,
267 shorthands = InsetInline,
268 property_group = Position,
269 computed_value_type = Unknown,
270 canonical_order = "per grammar",
271 logical_property_group = Inset,
272 box_side = InlineStart,
273 box_portion = Position,
274)]
275#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
276#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.inset-inline-start"))]
277#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
278#[derive(csskit_derives::NodeWithMetadata)]
279pub struct InsetInlineStartStyleValue<'a>;
280
281#[syntax(" auto | <length-percentage> ")]
293#[derive(
294 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
295)]
296#[declaration_metadata(
297 initial = "auto",
298 applies_to = Unknown,
299 animation_type = ByComputedValue,
300 percentages = ContainingBlock,
301 shorthands = Inset,
302 property_group = Position,
303 computed_value_type = Unknown,
304 canonical_order = "per grammar",
305 logical_property_group = Inset,
306 box_side = Left,
307 box_portion = Position,
308)]
309#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
310#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.left"))]
311#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
312#[derive(csskit_derives::NodeWithMetadata)]
313pub struct LeftStyleValue<'a>;
314
315#[syntax(" none | auto ")]
327#[derive(
328 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
329)]
330#[declaration_metadata(
331 initial = "none",
332 applies_to = Elements,
333 animation_type = Unknown,
334 property_group = Position,
335 computed_value_type = AsSpecified,
336 canonical_order = "per grammar",
337)]
338#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
339#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overlay"))]
340#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
341#[derive(csskit_derives::NodeWithMetadata)]
342pub enum OverlayStyleValue<'a> {}
343
344#[syntax(" static | relative | absolute | sticky | fixed | -webkit-sticky ")]
356#[derive(
357 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
358)]
359#[declaration_metadata(
360 initial = "static",
361 applies_to = Unknown,
362 animation_type = Discrete,
363 property_group = Position,
364 computed_value_type = Unknown,
365 canonical_order = "per grammar",
366 box_portion = Position,
367)]
368#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
369#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.position"))]
370#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
371#[derive(csskit_derives::NodeWithMetadata)]
372pub enum PositionStyleValue<'a> {}
373
374#[syntax(" auto | <length-percentage> ")]
386#[derive(
387 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
388)]
389#[declaration_metadata(
390 initial = "auto",
391 applies_to = Unknown,
392 animation_type = ByComputedValue,
393 percentages = ContainingBlock,
394 shorthands = Inset,
395 property_group = Position,
396 computed_value_type = Unknown,
397 canonical_order = "per grammar",
398 logical_property_group = Inset,
399 box_side = Right,
400 box_portion = Position,
401)]
402#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
403#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.right"))]
404#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
405#[derive(csskit_derives::NodeWithMetadata)]
406pub struct RightStyleValue<'a>;
407
408#[syntax(" auto | <length-percentage> ")]
420#[derive(
421 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
422)]
423#[declaration_metadata(
424 initial = "auto",
425 applies_to = Unknown,
426 animation_type = ByComputedValue,
427 percentages = ContainingBlock,
428 shorthands = Inset,
429 property_group = Position,
430 computed_value_type = Unknown,
431 canonical_order = "per grammar",
432 logical_property_group = Inset,
433 box_side = Top,
434 box_portion = Position,
435)]
436#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
437#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.top"))]
438#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
439#[derive(csskit_derives::NodeWithMetadata)]
440pub struct TopStyleValue<'a>;