1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" <single-animation># ")]
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 applies_to = Elements,
28 longhands = AnimationDelay|AnimationDirection|AnimationDuration|AnimationFillMode|AnimationIterationCount|AnimationName|AnimationPlayState|AnimationTimeline|AnimationTimingFunction,
29 property_group = Animations,
30 computed_value_type = Unknown,
31 canonical_order = "per grammar",
32)]
33#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
34#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation"))]
35#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
36#[derive(csskit_derives::NodeWithMetadata)]
37pub struct AnimationStyleValue<'a>;
38
39#[syntax(" <single-animation-composition># ")]
51#[derive(
52 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
53)]
54#[declaration_metadata(
55 initial = "replace",
56 applies_to = Elements,
57 property_group = Animations,
58 computed_value_type = Unknown,
59 canonical_order = "per grammar",
60)]
61#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
62#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-composition"))]
63#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
64#[derive(csskit_derives::NodeWithMetadata)]
65pub struct AnimationCompositionStyleValue<'a>;
66
67#[syntax(" [ <'animation-delay-start'> <'animation-delay-end'>? ]# ")]
79#[derive(
80 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
81)]
82#[declaration_metadata(
83 initial = "see individual properties",
84 inherits = Unknown,
85 applies_to = Unknown,
86 animation_type = Unknown,
87 percentages = Unknown,
88 shorthand_group = Animation,
89 property_group = Animations,
90 computed_value_type = Unknown,
91 canonical_order = "per grammar",
92)]
93#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
94#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-delay"))]
95#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
96#[derive(csskit_derives::NodeWithMetadata)]
97pub struct AnimationDelayStyleValue<'a>;
98
99#[syntax(" <time [0s,∞]># ")]
109#[derive(
110 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
111)]
112#[declaration_metadata(
113 initial = "0s",
114 applies_to = Elements,
115 property_group = Animations,
116 computed_value_type = Unknown,
117 canonical_order = "per grammar",
118)]
119#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
120#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-delay-end"))]
121#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
122#[derive(csskit_derives::NodeWithMetadata)]
123pub struct AnimationDelayEndStyleValue<'a>;
124
125#[syntax(" <time># ")]
135#[derive(
136 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
137)]
138#[declaration_metadata(
139 initial = "0s",
140 applies_to = Elements,
141 property_group = Animations,
142 computed_value_type = Unknown,
143 canonical_order = "per grammar",
144)]
145#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
146#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-delay-start"))]
147#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
148#[derive(csskit_derives::NodeWithMetadata)]
149pub struct AnimationDelayStartStyleValue<'a>;
150
151#[syntax(" <single-animation-direction># ")]
163#[derive(
164 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
165)]
166#[declaration_metadata(
167 initial = "normal",
168 applies_to = Elements,
169 shorthand_group = Animation,
170 property_group = Animations,
171 computed_value_type = Unknown,
172 canonical_order = "per grammar",
173)]
174#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
175#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-direction"))]
176#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
177#[derive(csskit_derives::NodeWithMetadata)]
178pub struct AnimationDirectionStyleValue<'a>;
179
180#[syntax(" [ auto | <time [0s,∞]> ]# ")]
192#[derive(
193 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
194)]
195#[declaration_metadata(
196 initial = "auto",
197 applies_to = Elements,
198 shorthand_group = Animation,
199 property_group = Animations,
200 computed_value_type = Unknown,
201 canonical_order = "per grammar",
202)]
203#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
204#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-duration"))]
205#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
206#[derive(csskit_derives::NodeWithMetadata)]
207pub struct AnimationDurationStyleValue<'a>;
208
209#[syntax(" <single-animation-fill-mode># ")]
221#[derive(
222 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
223)]
224#[declaration_metadata(
225 initial = "none",
226 applies_to = Elements,
227 shorthand_group = Animation,
228 property_group = Animations,
229 computed_value_type = Unknown,
230 canonical_order = "per grammar",
231)]
232#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
233#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-fill-mode"))]
234#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
235#[derive(csskit_derives::NodeWithMetadata)]
236pub struct AnimationFillModeStyleValue<'a>;
237
238#[syntax(" <single-animation-iteration-count># ")]
250#[derive(
251 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
252)]
253#[declaration_metadata(
254 initial = "1",
255 applies_to = Elements,
256 shorthand_group = Animation,
257 property_group = Animations,
258 computed_value_type = Unknown,
259 canonical_order = "per grammar",
260)]
261#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
262#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-iteration-count"))]
263#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
264#[derive(csskit_derives::NodeWithMetadata)]
265pub struct AnimationIterationCountStyleValue<'a>;
266
267#[syntax(" [ none | <keyframes-name> ]# ")]
279#[derive(
280 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
281)]
282#[declaration_metadata(
283 initial = "none",
284 applies_to = Elements,
285 shorthand_group = Animation,
286 property_group = Animations,
287 computed_value_type = Unknown,
288 canonical_order = "per grammar",
289)]
290#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
291#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-name"))]
292#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
293#[derive(csskit_derives::NodeWithMetadata)]
294pub struct AnimationNameStyleValue<'a>;
295
296#[syntax(" <single-animation-play-state># ")]
308#[derive(
309 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
310)]
311#[declaration_metadata(
312 initial = "running",
313 applies_to = Elements,
314 shorthand_group = Animation,
315 property_group = Animations,
316 computed_value_type = Unknown,
317 canonical_order = "per grammar",
318)]
319#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
320#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-play-state"))]
321#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
322#[derive(csskit_derives::NodeWithMetadata)]
323pub struct AnimationPlayStateStyleValue<'a>;
324
325#[syntax(" <single-animation-timeline># ")]
337#[derive(
338 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
339)]
340#[declaration_metadata(
341 initial = "auto",
342 applies_to = Elements,
343 shorthand_group = Animation,
344 property_group = Animations,
345 computed_value_type = Unknown,
346 canonical_order = "per grammar",
347)]
348#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
349#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-timeline"))]
350#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
351#[derive(csskit_derives::NodeWithMetadata)]
352pub struct AnimationTimelineStyleValue<'a>;
353
354#[syntax(" <easing-function># ")]
366#[derive(
367 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
368)]
369#[declaration_metadata(
370 initial = "ease",
371 applies_to = Elements,
372 shorthand_group = Animation,
373 property_group = Animations,
374 computed_value_type = Unknown,
375 canonical_order = "per grammar",
376)]
377#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
378#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-timing-function"))]
379#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
380#[derive(csskit_derives::NodeWithMetadata)]
381pub struct AnimationTimingFunctionStyleValue<'a>;