1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" auto | <color> ")]
22#[derive(
23 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
24)]
25#[declaration_metadata(
26 initial = "auto",
27 inherits,
28 applies_to = Elements,
29 animation_type = ByComputedValue,
30 property_group = Ui,
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.accent-color"))]
36#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
37#[derive(csskit_derives::NodeWithMetadata)]
38pub struct AccentColorStyleValue;
39
40#[syntax(" none | auto | base | base-select | <compat-auto> | <compat-special> ")]
52#[derive(
53 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
54)]
55#[declaration_metadata(
56 initial = "none",
57 applies_to = Elements,
58 animation_type = Discrete,
59 property_group = Ui,
60 computed_value_type = Unknown,
61 canonical_order = "per grammar",
62)]
63#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
64#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.appearance"))]
65#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
66#[derive(csskit_derives::NodeWithMetadata)]
67pub enum AppearanceStyleValue {}
68
69#[syntax(" <'caret-color'> || <'caret-animation'> || <'caret-shape'> ")]
79#[derive(
80 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
81)]
82#[declaration_metadata(
83 initial = "auto",
84 inherits,
85 applies_to = Unknown,
86 animation_type = Unknown,
87 property_group = Ui,
88 computed_value_type = Unknown,
89 canonical_order = "per grammar",
90)]
91#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
92#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.caret"))]
93#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
94#[derive(csskit_derives::NodeWithMetadata)]
95pub struct CaretStyleValue;
96
97#[syntax(" auto | manual ")]
107#[derive(
108 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
109)]
110#[declaration_metadata(
111 initial = "auto",
112 inherits,
113 applies_to = Unknown,
114 animation_type = Discrete,
115 property_group = Ui,
116 computed_value_type = Unknown,
117 canonical_order = "per grammar",
118)]
119#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
120#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.caret-animation"))]
121#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
122#[derive(csskit_derives::NodeWithMetadata)]
123pub enum CaretAnimationStyleValue {}
124
125#[syntax(" auto | <color> ")]
137#[derive(
138 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
139)]
140#[declaration_metadata(
141 initial = "auto",
142 inherits,
143 applies_to = Unknown,
144 animation_type = ByComputedValue,
145 property_group = Ui,
146 computed_value_type = Unknown,
147 canonical_order = "per grammar",
148)]
149#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
150#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.caret-color"))]
151#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
152#[derive(csskit_derives::NodeWithMetadata)]
153pub struct CaretColorStyleValue;
154
155#[syntax(" auto | bar | block | underscore ")]
167#[derive(
168 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
169)]
170#[declaration_metadata(
171 initial = "auto",
172 inherits,
173 applies_to = Unknown,
174 animation_type = ByComputedValue,
175 property_group = Ui,
176 computed_value_type = Unknown,
177 canonical_order = "per grammar",
178)]
179#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
180#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.caret-shape"))]
181#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
182#[derive(csskit_derives::NodeWithMetadata)]
183pub enum CaretShapeStyleValue {}
184
185#[syntax(" [<cursor-image>,]* <cursor-predefined> ")]
197#[derive(
198 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
199)]
200#[declaration_metadata(
201 initial = "auto",
202 inherits,
203 applies_to = Elements,
204 animation_type = Discrete,
205 property_group = Ui,
206 computed_value_type = SpecifiedWithAbsoluteUrls,
207 canonical_order = "per grammar",
208)]
209#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
210#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.cursor"))]
211#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
212#[derive(csskit_derives::NodeWithMetadata)]
213pub struct CursorStyleValue<'a>;
214
215#[syntax(" auto | inert ")]
227#[derive(
228 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
229)]
230#[declaration_metadata(
231 initial = "auto",
232 inherits,
233 applies_to = Elements,
234 animation_type = Discrete,
235 property_group = Ui,
236 computed_value_type = AsSpecified,
237 canonical_order = "per grammar",
238)]
239#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
240#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.interactivity"))]
241#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
242#[derive(csskit_derives::NodeWithMetadata)]
243pub enum InteractivityStyleValue {}
244
245#[syntax(" <'interest-delay-start'>{1,2} ")]
255#[derive(
256 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
257)]
258#[declaration_metadata(
259 initial = "see individual properties",
260 inherits = Unknown,
261 applies_to = Unknown,
262 animation_type = Unknown,
263 percentages = Unknown,
264 property_group = Ui,
265 computed_value_type = Unknown,
266 canonical_order = "per grammar",
267)]
268#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
269#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.interest-delay"))]
270#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
271#[derive(csskit_derives::NodeWithMetadata)]
272pub struct InterestDelayStyleValue;
273
274#[syntax(" normal | <time> ")]
284#[derive(
285 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
286)]
287#[declaration_metadata(
288 initial = "normal",
289 inherits,
290 applies_to = Elements,
291 animation_type = ByComputedValue,
292 property_group = Ui,
293 computed_value_type = Unknown,
294 canonical_order = "per grammar",
295)]
296#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
297#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.interest-delay-end"))]
298#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
299#[derive(csskit_derives::NodeWithMetadata)]
300pub enum InterestDelayEndStyleValue {}
301
302#[syntax(" normal | <time> ")]
312#[derive(
313 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
314)]
315#[declaration_metadata(
316 initial = "normal",
317 inherits,
318 applies_to = Elements,
319 animation_type = ByComputedValue,
320 property_group = Ui,
321 computed_value_type = Unknown,
322 canonical_order = "per grammar",
323)]
324#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
325#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.interest-delay-start"))]
326#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
327#[derive(csskit_derives::NodeWithMetadata)]
328pub enum InterestDelayStartStyleValue {}
329
330#[syntax(" <'outline-width'> || <'outline-style'> || <'outline-color'> ")]
516#[derive(
517 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
518)]
519#[declaration_metadata(
520 initial = "see individual properties",
521 applies_to = Elements,
522 animation_type = Unknown,
523 longhands = OutlineColor|OutlineStyle|OutlineWidth,
524 property_group = Ui,
525 computed_value_type = Unknown,
526 canonical_order = "per grammar",
527)]
528#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
529#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline"))]
530#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
531#[derive(csskit_derives::NodeWithMetadata)]
532pub struct OutlineStyleValue<'a>;
533
534#[syntax(" auto | <'border-top-color'> ")]
546#[derive(
547 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
548)]
549#[declaration_metadata(
550 initial = "auto",
551 applies_to = Elements,
552 animation_type = ByComputedValue,
553 shorthand_group = Outline,
554 property_group = Ui,
555 computed_value_type = Unknown,
556 canonical_order = "per grammar",
557)]
558#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
559#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-color"))]
560#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
561#[derive(csskit_derives::NodeWithMetadata)]
562pub struct OutlineColorStyleValue<'a>;
563
564#[syntax(" <length> ")]
576#[derive(
577 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
578)]
579#[declaration_metadata(
580 initial = "0",
581 applies_to = Elements,
582 animation_type = ByComputedValue,
583 property_group = Ui,
584 computed_value_type = AbsoluteLength,
585 canonical_order = "per grammar",
586)]
587#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
588#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-offset"))]
589#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
590#[derive(csskit_derives::NodeWithMetadata)]
591pub struct OutlineOffsetStyleValue;
592
593#[syntax(" auto | <outline-line-style> ")]
605#[derive(
606 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
607)]
608#[declaration_metadata(
609 initial = "none",
610 applies_to = Elements,
611 animation_type = ByComputedValue,
612 shorthand_group = Outline,
613 property_group = Ui,
614 computed_value_type = Unknown,
615 canonical_order = "per grammar",
616)]
617#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
618#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-style"))]
619#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
620#[derive(csskit_derives::NodeWithMetadata)]
621pub struct OutlineStyleStyleValue;
622
623#[syntax(" <line-width> ")]
635#[derive(
636 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
637)]
638#[declaration_metadata(
639 initial = "medium",
640 applies_to = Elements,
641 animation_type = ByComputedValue,
642 shorthand_group = Outline,
643 property_group = Ui,
644 computed_value_type = AbsoluteLength,
645 canonical_order = "per grammar",
646)]
647#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
648#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-width"))]
649#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
650#[derive(csskit_derives::NodeWithMetadata)]
651pub struct OutlineWidthStyleValue;
652
653#[syntax(" auto | none ")]
665#[derive(
666 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
667)]
668#[declaration_metadata(
669 initial = "auto",
670 inherits,
671 applies_to = Elements,
672 animation_type = ByComputedValue,
673 property_group = Ui,
674 computed_value_type = Unknown,
675 canonical_order = "per grammar",
676)]
677#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
678#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pointer-events"))]
679#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
680#[derive(csskit_derives::NodeWithMetadata)]
681pub enum PointerEventsStyleValue {}
682
683#[syntax(" none | both | horizontal | vertical | block | inline ")]
695#[derive(
696 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
697)]
698#[declaration_metadata(
699 initial = "none",
700 applies_to = Unknown,
701 animation_type = Discrete,
702 property_group = Ui,
703 computed_value_type = Unknown,
704 canonical_order = "per grammar",
705)]
706#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
707#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.resize"))]
708#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
709#[derive(csskit_derives::NodeWithMetadata)]
710pub enum ResizeStyleValue {}
711
712#[syntax(" auto | text | none | contain | all ")]
724#[derive(
725 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
726)]
727#[declaration_metadata(
728 initial = "auto",
729 applies_to = Unknown,
730 animation_type = Discrete,
731 property_group = Ui,
732 computed_value_type = Unknown,
733 canonical_order = "per grammar",
734)]
735#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
736#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.user-select"))]
737#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
738#[derive(csskit_derives::NodeWithMetadata)]
739pub enum UserSelectStyleValue {}