1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" [ <'animation-range-start'> <'animation-range-end'>? ]# ")]
22#[derive(
23 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
24)]
25#[declaration_metadata(
26 initial = "see individual properties",
27 inherits = Unknown,
28 applies_to = Unknown,
29 animation_type = Unknown,
30 percentages = Unknown,
31 longhands = AnimationRangeEnd|AnimationRangeStart,
32 property_group = ScrollAnimations,
33 computed_value_type = Unknown,
34 canonical_order = "per grammar",
35)]
36#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
37#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-range"))]
38#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
39#[derive(csskit_derives::NodeWithMetadata)]
40pub struct AnimationRangeStyleValue<'a>;
41
42#[syntax(" [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]# ")]
54#[derive(
55 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
56)]
57#[declaration_metadata(
58 initial = "normal",
59 applies_to = Elements,
60 percentages = Unknown,
61 shorthand_group = AnimationRange,
62 property_group = ScrollAnimations,
63 computed_value_type = Unknown,
64 canonical_order = "per grammar",
65)]
66#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
67#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-range-end"))]
68#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
69#[derive(csskit_derives::NodeWithMetadata)]
70pub struct AnimationRangeEndStyleValue<'a>;
71
72#[syntax(" [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]# ")]
84#[derive(
85 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
86)]
87#[declaration_metadata(
88 initial = "normal",
89 applies_to = Elements,
90 percentages = Unknown,
91 shorthand_group = AnimationRange,
92 property_group = ScrollAnimations,
93 computed_value_type = Unknown,
94 canonical_order = "per grammar",
95)]
96#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
97#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-range-start"))]
98#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
99#[derive(csskit_derives::NodeWithMetadata)]
100pub struct AnimationRangeStartStyleValue<'a>;
101
102#[syntax(" [ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]# ")]
114#[derive(
115 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
116)]
117#[declaration_metadata(
118 initial = "see individual properties",
119 applies_to = Elements,
120 percentages = Unknown,
121 longhands = ScrollTimelineAxis|ScrollTimelineName,
122 property_group = ScrollAnimations,
123 computed_value_type = Unknown,
124 canonical_order = "per grammar",
125)]
126#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
127#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.scroll-timeline"))]
128#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
129#[derive(csskit_derives::NodeWithMetadata)]
130pub struct ScrollTimelineStyleValue<'a>;
131
132#[syntax(" [ block | inline | x | y ]# ")]
144#[derive(
145 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
146)]
147#[declaration_metadata(
148 initial = "block",
149 applies_to = Elements,
150 shorthand_group = ScrollTimeline,
151 property_group = ScrollAnimations,
152 computed_value_type = Unknown,
153 canonical_order = "per grammar",
154)]
155#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
156#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.scroll-timeline-axis"))]
157#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
158#[derive(csskit_derives::NodeWithMetadata)]
159pub struct ScrollTimelineAxisStyleValue<'a>;
160
161#[syntax(" [ none | <dashed-ident> ]# ")]
173#[derive(
174 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
175)]
176#[declaration_metadata(
177 initial = "none",
178 applies_to = Elements,
179 shorthand_group = ScrollTimeline,
180 property_group = ScrollAnimations,
181 computed_value_type = Unknown,
182 canonical_order = "per grammar",
183)]
184#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
185#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.scroll-timeline-name"))]
186#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
187#[derive(csskit_derives::NodeWithMetadata)]
188pub struct ScrollTimelineNameStyleValue<'a>;
189
190#[syntax(" none | all | <dashed-ident># ")]
202#[derive(
203 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
204)]
205#[declaration_metadata(
206 initial = "none",
207 applies_to = Elements,
208 property_group = ScrollAnimations,
209 computed_value_type = Unknown,
210 canonical_order = "per grammar",
211)]
212#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
213#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.timeline-scope"))]
214#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
215#[derive(csskit_derives::NodeWithMetadata)]
216pub enum TimelineScopeStyleValue<'a> {}
217
218#[syntax(" [ block | inline | x | y ]# ")]
280#[derive(
281 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
282)]
283#[declaration_metadata(
284 initial = "block",
285 applies_to = Elements,
286 shorthand_group = ViewTimeline,
287 property_group = ScrollAnimations,
288 computed_value_type = Unknown,
289 canonical_order = "per grammar",
290)]
291#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
292#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.view-timeline-axis"))]
293#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
294#[derive(csskit_derives::NodeWithMetadata)]
295pub struct ViewTimelineAxisStyleValue<'a>;
296
297#[syntax(" [ [ auto | <length-percentage> ]{1,2} ]# ")]
309#[derive(
310 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
311)]
312#[declaration_metadata(
313 initial = "auto",
314 applies_to = Elements,
315 animation_type = ByComputedValue,
316 percentages = Scrollport,
317 shorthand_group = ViewTimeline,
318 property_group = ScrollAnimations,
319 computed_value_type = Unknown,
320 canonical_order = "per grammar",
321)]
322#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
323#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.view-timeline-inset"))]
324#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
325#[derive(csskit_derives::NodeWithMetadata)]
326pub struct ViewTimelineInsetStyleValue<'a>;
327
328#[syntax(" [ none | <dashed-ident> ]# ")]
340#[derive(
341 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
342)]
343#[declaration_metadata(
344 initial = "none",
345 applies_to = Elements,
346 shorthand_group = ViewTimeline,
347 property_group = ScrollAnimations,
348 computed_value_type = Unknown,
349 canonical_order = "per grammar",
350)]
351#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
352#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.view-timeline-name"))]
353#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
354#[derive(csskit_derives::NodeWithMetadata)]
355pub struct ViewTimelineNameStyleValue<'a>;