css_ast/values/image_animation/
mod.rs

1// AUTO-GENERATED from w3c/csswg-drafts
2// Commit: https://github.com/w3c/csswg-drafts/commit/58eb9b3f45e73a3e4ae51b253a25fa2a11ad142c
3// Do not edit this file directly.
4#![allow(warnings)]
5//! https://drafts.csswg.org/css-image-animation-1/
6
7mod impls;
8use super::prelude::*;
9use impls::*;
10/// Represents the style value for `image-animation` as defined in [css-image-animation-1](https://drafts.csswg.org/css-image-animation-1/#image-animation).
11///
12/// The grammar is defined as:
13///
14/// ```text,ignore
15/// normal | paused | running
16/// ```
17///
18/// https://drafts.csswg.org/css-image-animation-1/#image-animation
19#[syntax(" normal | paused | running ")]
20#[derive(
21	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
22)]
23#[declaration_metadata(
24    initial = "normal",
25    inherits,
26    applies_to = Unknown,
27    animation_type = Discrete,
28    property_group = ImageAnimation,
29    computed_value_type = AsSpecified,
30    canonical_order = "per grammar",
31)]
32#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
33#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.image-animation"))]
34#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
35#[derive(csskit_derives::NodeWithMetadata)]
36pub enum ImageAnimationStyleValue {}