1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" [ <counter-name> <integer>? ]+ | none ")]
22#[derive(
23 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
24)]
25#[declaration_metadata(
26 initial = "none",
27 applies_to = Elements,
28 animation_type = ByComputedValue,
29 property_group = Lists,
30 computed_value_type = Unknown,
31 canonical_order = "per grammar",
32)]
33#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
34#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.counter-increment"))]
35#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
36#[derive(csskit_derives::NodeWithMetadata)]
37pub struct CounterIncrementStyleValue<'a>;
38
39#[syntax(" [ <counter-name> <integer>? ]+ | none ")]
96#[derive(
97 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
98)]
99#[declaration_metadata(
100 initial = "none",
101 applies_to = Elements,
102 animation_type = ByComputedValue,
103 property_group = Lists,
104 computed_value_type = Unknown,
105 canonical_order = "per grammar",
106)]
107#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
108#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.counter-set"))]
109#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
110#[derive(csskit_derives::NodeWithMetadata)]
111pub struct CounterSetStyleValue<'a>;
112
113#[syntax(" <'list-style-position'> || <'list-style-image'> || <'list-style-type'> ")]
125#[derive(
126 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
127)]
128#[declaration_metadata(
129 initial = "see individual properties",
130 inherits = Unknown,
131 applies_to = Unknown,
132 animation_type = Unknown,
133 percentages = Unknown,
134 longhands = ListStyleImage|ListStylePosition|ListStyleType,
135 property_group = Lists,
136 computed_value_type = Unknown,
137 canonical_order = "per grammar",
138)]
139#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
140#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.list-style"))]
141#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
142#[derive(csskit_derives::NodeWithMetadata)]
143pub struct ListStyleStyleValue<'a>;
144
145#[syntax(" <image> | none ")]
157#[derive(
158 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
159)]
160#[declaration_metadata(
161 initial = "none",
162 inherits,
163 applies_to = Unknown,
164 animation_type = Discrete,
165 shorthand_group = ListStyle,
166 property_group = Lists,
167 computed_value_type = Unknown,
168 canonical_order = "per grammar",
169)]
170#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
171#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.list-style-image"))]
172#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
173#[derive(csskit_derives::NodeWithMetadata)]
174pub struct ListStyleImageStyleValue<'a>;
175
176#[syntax(" inside | outside ")]
188#[derive(
189 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
190)]
191#[declaration_metadata(
192 initial = "outside",
193 inherits,
194 applies_to = Unknown,
195 animation_type = Discrete,
196 shorthand_group = ListStyle,
197 property_group = Lists,
198 computed_value_type = Unknown,
199 canonical_order = "per grammar",
200)]
201#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
202#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.list-style-position"))]
203#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
204#[derive(csskit_derives::NodeWithMetadata)]
205pub enum ListStylePositionStyleValue {}
206
207#[syntax(" <counter-style> | <string> | none ")]
219#[derive(
220 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
221)]
222#[declaration_metadata(
223 initial = "disc",
224 inherits,
225 applies_to = Unknown,
226 animation_type = Discrete,
227 shorthand_group = ListStyle,
228 property_group = Lists,
229 computed_value_type = AsSpecified,
230 canonical_order = "per grammar",
231)]
232#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
233#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.list-style-type"))]
234#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
235#[derive(csskit_derives::NodeWithMetadata)]
236pub enum ListStyleTypeStyleValue<'a> {}
237
238#[syntax(" match-self | match-parent ")]
248#[derive(
249 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
250)]
251#[declaration_metadata(
252 initial = "match-self",
253 inherits,
254 applies_to = Unknown,
255 animation_type = Discrete,
256 property_group = Lists,
257 computed_value_type = Unknown,
258 canonical_order = "per grammar",
259)]
260#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
261#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.marker-side"))]
262#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
263#[derive(csskit_derives::NodeWithMetadata)]
264pub enum MarkerSideStyleValue {}