1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" <single-animation-composition># ")]
67#[derive(
68 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
69)]
70#[declaration_metadata(
71 initial = "replace",
72 applies_to = Elements,
73 property_group = Animations,
74 computed_value_type = Unknown,
75 canonical_order = "per grammar",
76)]
77#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
78#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-composition"))]
79#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
80#[derive(csskit_derives::NodeWithMetadata)]
81pub struct AnimationCompositionStyleValue<'a>;
82
83#[syntax(" <time># ")]
95#[derive(
96 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
97)]
98#[declaration_metadata(
99 initial = "0s",
100 applies_to = Elements,
101 shorthand_group = Animation,
102 property_group = Animations,
103 computed_value_type = Unknown,
104 canonical_order = "per grammar",
105)]
106#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
107#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-delay"))]
108#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
109#[derive(csskit_derives::NodeWithMetadata)]
110pub struct AnimationDelayStyleValue<'a>;
111
112#[syntax(" <single-animation-direction># ")]
124#[derive(
125 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
126)]
127#[declaration_metadata(
128 initial = "normal",
129 applies_to = Elements,
130 shorthand_group = Animation,
131 property_group = Animations,
132 computed_value_type = Unknown,
133 canonical_order = "per grammar",
134)]
135#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
136#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-direction"))]
137#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
138#[derive(csskit_derives::NodeWithMetadata)]
139pub struct AnimationDirectionStyleValue<'a>;
140
141#[syntax(" [ auto | <time [0s,∞]> ]# ")]
153#[derive(
154 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
155)]
156#[declaration_metadata(
157 initial = "auto",
158 applies_to = Elements,
159 shorthand_group = Animation,
160 property_group = Animations,
161 computed_value_type = Unknown,
162 canonical_order = "per grammar",
163)]
164#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
165#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-duration"))]
166#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
167#[derive(csskit_derives::NodeWithMetadata)]
168pub struct AnimationDurationStyleValue<'a>;
169
170#[syntax(" <single-animation-fill-mode># ")]
182#[derive(
183 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
184)]
185#[declaration_metadata(
186 initial = "none",
187 applies_to = Elements,
188 shorthand_group = Animation,
189 property_group = Animations,
190 computed_value_type = Unknown,
191 canonical_order = "per grammar",
192)]
193#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
194#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-fill-mode"))]
195#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
196#[derive(csskit_derives::NodeWithMetadata)]
197pub struct AnimationFillModeStyleValue<'a>;
198
199#[syntax(" <single-animation-iteration-count># ")]
211#[derive(
212 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
213)]
214#[declaration_metadata(
215 initial = "1",
216 applies_to = Elements,
217 shorthand_group = Animation,
218 property_group = Animations,
219 computed_value_type = Unknown,
220 canonical_order = "per grammar",
221)]
222#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
223#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-iteration-count"))]
224#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
225#[derive(csskit_derives::NodeWithMetadata)]
226pub struct AnimationIterationCountStyleValue<'a>;
227
228#[syntax(" [ none | <keyframes-name> ]# ")]
240#[derive(
241 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
242)]
243#[declaration_metadata(
244 initial = "none",
245 applies_to = Elements,
246 shorthand_group = Animation,
247 property_group = Animations,
248 computed_value_type = Unknown,
249 canonical_order = "per grammar",
250)]
251#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
252#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-name"))]
253#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
254#[derive(csskit_derives::NodeWithMetadata)]
255pub struct AnimationNameStyleValue<'a>;
256
257#[syntax(" <single-animation-play-state># ")]
269#[derive(
270 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
271)]
272#[declaration_metadata(
273 initial = "running",
274 applies_to = Elements,
275 shorthand_group = Animation,
276 property_group = Animations,
277 computed_value_type = Unknown,
278 canonical_order = "per grammar",
279)]
280#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
281#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-play-state"))]
282#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
283#[derive(csskit_derives::NodeWithMetadata)]
284pub struct AnimationPlayStateStyleValue<'a>;
285
286#[syntax(" <single-animation-timeline># ")]
298#[derive(
299 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
300)]
301#[declaration_metadata(
302 initial = "auto",
303 applies_to = Elements,
304 shorthand_group = Animation,
305 property_group = Animations,
306 computed_value_type = Unknown,
307 canonical_order = "per grammar",
308)]
309#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
310#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-timeline"))]
311#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
312#[derive(csskit_derives::NodeWithMetadata)]
313pub struct AnimationTimelineStyleValue<'a>;
314
315#[syntax(" <easing-function># ")]
327#[derive(
328 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
329)]
330#[declaration_metadata(
331 initial = "ease",
332 applies_to = Elements,
333 shorthand_group = Animation,
334 property_group = Animations,
335 computed_value_type = Unknown,
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.animation-timing-function"))]
340#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
341#[derive(csskit_derives::NodeWithMetadata)]
342pub struct AnimationTimingFunctionStyleValue<'a>;