1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" [ contain | none | auto | chain ]{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#[declaration_writes(repeat)]
35#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
36#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior"))]
37#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
38#[derive(csskit_derives::NodeWithMetadata)]
39pub struct OverscrollBehaviorStyleValue<'a>;
40
41#[syntax(" contain | none | auto | chain ")]
53#[derive(
54 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
55)]
56#[declaration_metadata(
57 initial = "auto",
58 applies_to = Unknown,
59 animation_type = Discrete,
60 property_group = Overscroll,
61 computed_value_type = AsSpecified,
62 canonical_order = "per grammar",
63 logical_property_group = OverscrollBehavior,
64 box_side = BlockStart|BlockEnd,
65)]
66#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
67#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior-block"))]
68#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
69#[derive(csskit_derives::NodeWithMetadata)]
70pub enum OverscrollBehaviorBlockStyleValue<'a> {}
71
72#[syntax(" contain | none | auto | chain ")]
84#[derive(
85 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
86)]
87#[declaration_metadata(
88 initial = "auto",
89 applies_to = Unknown,
90 animation_type = Discrete,
91 property_group = Overscroll,
92 computed_value_type = AsSpecified,
93 canonical_order = "per grammar",
94 logical_property_group = OverscrollBehavior,
95 box_side = InlineStart|InlineEnd,
96)]
97#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
98#[cfg_attr(
99 feature = "css_feature_data",
100 derive(ToCSSFeature),
101 css_feature("css.properties.overscroll-behavior-inline")
102)]
103#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
104#[derive(csskit_derives::NodeWithMetadata)]
105pub enum OverscrollBehaviorInlineStyleValue<'a> {}
106
107#[syntax(" contain | none | auto | chain ")]
119#[derive(
120 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
121)]
122#[declaration_metadata(
123 initial = "auto",
124 applies_to = Unknown,
125 animation_type = Discrete,
126 shorthands = OverscrollBehavior,
127 property_group = Overscroll,
128 computed_value_type = AsSpecified,
129 canonical_order = "per grammar",
130 logical_property_group = OverscrollBehavior,
131)]
132#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
133#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior-x"))]
134#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
135#[derive(csskit_derives::NodeWithMetadata)]
136pub enum OverscrollBehaviorXStyleValue<'a> {}
137
138#[syntax(" contain | none | auto | chain ")]
150#[derive(
151 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
152)]
153#[declaration_metadata(
154 initial = "auto",
155 applies_to = Unknown,
156 animation_type = Discrete,
157 shorthands = OverscrollBehavior,
158 property_group = Overscroll,
159 computed_value_type = AsSpecified,
160 canonical_order = "per grammar",
161 logical_property_group = OverscrollBehavior,
162)]
163#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
164#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-behavior-y"))]
165#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
166#[derive(csskit_derives::NodeWithMetadata)]
167pub enum OverscrollBehaviorYStyleValue<'a> {}
168
169#[syntax(" auto | push | overlay | none ")]
179#[derive(
180 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
181)]
182#[declaration_metadata(
183 initial = "auto",
184 applies_to = Elements,
185 animation_type = Discrete,
186 property_group = Overscroll,
187 computed_value_type = Unknown,
188 canonical_order = "per grammar",
189)]
190#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
191#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.overscroll-container-type"))]
192#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
193#[derive(csskit_derives::NodeWithMetadata)]
194pub enum OverscrollContainerTypeStyleValue<'a> {}