css_ast/values/exclusions/
mod.rs

1#![allow(warnings)]
2//! https://drafts.csswg.org/css-exclusions-1/
3
4mod impls;
5use super::prelude::*;
6use impls::*;
7/// Represents the style value for `wrap-flow` as defined in [css-exclusions-1](https://drafts.csswg.org/css-exclusions-1/#wrap-flow).
8///
9/// The grammar is defined as:
10///
11/// ```text,ignore
12/// auto | both | start | end | minimum | maximum | clear
13/// ```
14///
15/// https://drafts.csswg.org/css-exclusions-1/#wrap-flow
16#[syntax(" auto | both | start | end | minimum | maximum | clear ")]
17#[derive(
18	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
19)]
20#[declaration_metadata(
21    initial = "auto",
22    applies_to = Unknown,
23    animation_type = Discrete,
24    property_group = Exclusions,
25    computed_value_type = AsSpecified,
26    canonical_order = "per grammar",
27)]
28#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
29#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.wrap-flow"))]
30#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
31pub enum WrapFlowStyleValue {}
32
33/// Represents the style value for `wrap-through` as defined in [css-exclusions-1](https://drafts.csswg.org/css-exclusions-1/#wrap-through).
34///
35/// The grammar is defined as:
36///
37/// ```text,ignore
38/// wrap | none
39/// ```
40///
41/// https://drafts.csswg.org/css-exclusions-1/#wrap-through
42#[syntax(" wrap | none ")]
43#[derive(
44	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
45)]
46#[declaration_metadata(
47    initial = "wrap",
48    applies_to = Block,
49    animation_type = Discrete,
50    property_group = Exclusions,
51    computed_value_type = AsSpecified,
52    canonical_order = "per grammar",
53)]
54#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
55#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.wrap-through"))]
56#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
57pub enum WrapThroughStyleValue {}