css_ast/values/overscroll/
mod.rs1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" [ contain | none | auto ]{1,2} ")]
22#[derive(
23 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
24)]
25#[declaration_metadata(
26 initial = "auto auto",
27 applies_to = Unknown,
28 animation_type = Discrete,
29 longhands = OverscrollBehaviorX|OverscrollBehaviorY,
30 property_group = Overscroll,
31 computed_value_type = Unknown,
32 canonical_order = "per grammar",
33)]
34#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
35#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior"))]
36#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
37#[derive(csskit_derives::NodeWithMetadata)]
38pub struct OverscrollBehaviorStyleValue;
39
40#[syntax(" contain | none | auto ")]
52#[derive(
53 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
54)]
55#[declaration_metadata(
56 initial = "auto",
57 applies_to = Unknown,
58 animation_type = Discrete,
59 property_group = Overscroll,
60 computed_value_type = AsSpecified,
61 canonical_order = "per grammar",
62 logical_property_group = OverscrollBehavior,
63 box_side = BlockStart|BlockEnd,
64)]
65#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
66#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior-block"))]
67#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
68#[derive(csskit_derives::NodeWithMetadata)]
69pub enum OverscrollBehaviorBlockStyleValue {}
70
71#[syntax(" contain | none | auto ")]
83#[derive(
84 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
85)]
86#[declaration_metadata(
87 initial = "auto",
88 applies_to = Unknown,
89 animation_type = Discrete,
90 property_group = Overscroll,
91 computed_value_type = AsSpecified,
92 canonical_order = "per grammar",
93 logical_property_group = OverscrollBehavior,
94 box_side = InlineStart|InlineEnd,
95)]
96#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
97#[cfg_attr(
98 feature = "css_feature_data",
99 derive(ToCSSFeature),
100 css_feature("css.properties.overscroll-behavior-inline")
101)]
102#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
103#[derive(csskit_derives::NodeWithMetadata)]
104pub enum OverscrollBehaviorInlineStyleValue {}
105
106#[syntax(" contain | none | auto ")]
118#[derive(
119 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
120)]
121#[declaration_metadata(
122 initial = "auto",
123 applies_to = Unknown,
124 animation_type = Discrete,
125 shorthand_group = OverscrollBehavior,
126 property_group = Overscroll,
127 computed_value_type = AsSpecified,
128 canonical_order = "per grammar",
129 logical_property_group = OverscrollBehavior,
130)]
131#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
132#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior-x"))]
133#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
134#[derive(csskit_derives::NodeWithMetadata)]
135pub enum OverscrollBehaviorXStyleValue {}
136
137#[syntax(" contain | none | auto ")]
149#[derive(
150 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
151)]
152#[declaration_metadata(
153 initial = "auto",
154 applies_to = Unknown,
155 animation_type = Discrete,
156 shorthand_group = OverscrollBehavior,
157 property_group = Overscroll,
158 computed_value_type = AsSpecified,
159 canonical_order = "per grammar",
160 logical_property_group = OverscrollBehavior,
161)]
162#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
163#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior-y"))]
164#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
165#[derive(csskit_derives::NodeWithMetadata)]
166pub enum OverscrollBehaviorYStyleValue {}