css_ast 0.0.23

CSS Abstract Syntax Trees with visitable nodes and style value types.
Documentation
// AUTO-GENERATED from w3c/csswg-drafts
// Commit: https://github.com/w3c/csswg-drafts/commit/3317e61fe2d6744744f69ee6f43994f6f9696455
// Do not edit this file directly.
#![allow(warnings)]
//! https://drafts.csswg.org/css-cascade-6/

mod impls;
use super::prelude::*;
use impls::*;
/// Represents the style value for `all` as defined in [css-cascade-6](https://drafts.csswg.org/css-cascade-6/#all).
///
/// The all CSS property is a shorthand for all CSS properties, except for direction and unicode-bidi. It accepts only the keywords for explicit defaulting (such as initial and inherit), since they are the only values supported on all CSS properties.
///
/// The grammar is defined as:
///
/// ```text,ignore
/// initial | inherit | unset | revert | revert-layer | revert-rule
/// ```
///
/// https://drafts.csswg.org/css-cascade-6/#all
#[syntax(" initial | inherit | unset | revert | revert-layer | revert-rule ")]
#[derive(
	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
)]
#[declaration_metadata(
    initial = "see individual properties",
    inherits = Unknown,
    applies_to = Unknown,
    animation_type = Unknown,
    percentages = Unknown,
    property_group = Cascade,
    computed_value_type = Unknown,
    canonical_order = "per grammar",
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.all"))]
#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
pub enum AllStyleValue {}