css_ast/values/cascade/
mod.rs

1#![allow(warnings)]
2//! https://drafts.csswg.org/css-cascade-6/
3
4mod impls;
5use super::prelude::*;
6use impls::*;
7/// Represents the style value for `all` as defined in [css-cascade-6](https://drafts.csswg.org/css-cascade-6/#all).
8///
9/// 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.
10///
11/// The grammar is defined as:
12///
13/// ```text,ignore
14/// initial | inherit | unset | revert | revert-layer
15/// ```
16///
17/// https://drafts.csswg.org/css-cascade-6/#all
18#[syntax(" initial | inherit | unset | revert | revert-layer ")]
19#[derive(
20	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
21)]
22#[declaration_metadata(
23    initial = "see individual properties",
24    inherits = Unknown,
25    applies_to = Unknown,
26    percentages = Unknown,
27    animation_type = Unknown,
28    property_group = Cascade,
29    computed_value_type = Unknown,
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.all"))]
34#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
35pub enum AllStyleValue {}