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<'a>;
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<'a> {}
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<'a>;
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<'a> {}
124
125#[syntax(" auto | <color> [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<'a>;
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<'a> {}
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<'a> {}
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<'a>;
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 struct InterestDelayEndStyleValue<'a>;
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 struct InterestDelayStartStyleValue<'a>;
329
330#[syntax(" auto | <id> [ current | root | <target-name> ]? ")]
340#[derive(
341 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
342)]
343#[declaration_metadata(
344 initial = "auto",
345 applies_to = Elements,
346 animation_type = Discrete,
347 property_group = Ui,
348 computed_value_type = AsSpecified,
349 canonical_order = "per grammar",
350)]
351#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
352#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.nav-down"))]
353#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
354#[derive(csskit_derives::NodeWithMetadata)]
355pub enum NavDownStyleValue<'a> {}
356
357#[syntax(" auto | <id> [ current | root | <target-name> ]? ")]
367#[derive(
368 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
369)]
370#[declaration_metadata(
371 initial = "auto",
372 applies_to = Elements,
373 animation_type = Discrete,
374 property_group = Ui,
375 computed_value_type = AsSpecified,
376 canonical_order = "per grammar",
377 box_side = Left,
378)]
379#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
380#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.nav-left"))]
381#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
382#[derive(csskit_derives::NodeWithMetadata)]
383pub enum NavLeftStyleValue<'a> {}
384
385#[syntax(" auto | <id> [ current | root | <target-name> ]? ")]
395#[derive(
396 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
397)]
398#[declaration_metadata(
399 initial = "auto",
400 applies_to = Elements,
401 animation_type = Discrete,
402 property_group = Ui,
403 computed_value_type = AsSpecified,
404 canonical_order = "per grammar",
405 box_side = Right,
406)]
407#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
408#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.nav-right"))]
409#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
410#[derive(csskit_derives::NodeWithMetadata)]
411pub enum NavRightStyleValue<'a> {}
412
413#[syntax(" auto | <id> [ current | root | <target-name> ]? ")]
423#[derive(
424 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
425)]
426#[declaration_metadata(
427 initial = "auto",
428 applies_to = Elements,
429 animation_type = Discrete,
430 property_group = Ui,
431 computed_value_type = AsSpecified,
432 canonical_order = "per grammar",
433)]
434#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
435#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.nav-up"))]
436#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
437#[derive(csskit_derives::NodeWithMetadata)]
438pub enum NavUpStyleValue<'a> {}
439
440#[syntax(" <'outline-width'> || <'outline-style'> || <'outline-color'> ")]
452#[derive(
453 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
454)]
455#[declaration_metadata(
456 initial = "see individual properties",
457 applies_to = Elements,
458 animation_type = Unknown,
459 longhands = OutlineColor|OutlineStyle|OutlineWidth,
460 property_group = Ui,
461 computed_value_type = Unknown,
462 canonical_order = "per grammar",
463)]
464#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
465#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline"))]
466#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
467#[derive(csskit_derives::NodeWithMetadata)]
468pub struct OutlineStyleValue<'a>;
469
470#[syntax(" auto | <'border-top-color'> ")]
482#[derive(
483 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
484)]
485#[declaration_metadata(
486 initial = "auto",
487 applies_to = Elements,
488 animation_type = ByComputedValue,
489 shorthand_group = Outline,
490 property_group = Ui,
491 computed_value_type = Unknown,
492 canonical_order = "per grammar",
493)]
494#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
495#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-color"))]
496#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
497#[derive(csskit_derives::NodeWithMetadata)]
498pub struct OutlineColorStyleValue<'a>;
499
500#[syntax(" <length> ")]
512#[derive(
513 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
514)]
515#[declaration_metadata(
516 initial = "0",
517 applies_to = Elements,
518 animation_type = ByComputedValue,
519 property_group = Ui,
520 computed_value_type = AbsoluteLength,
521 canonical_order = "per grammar",
522)]
523#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
524#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-offset"))]
525#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
526#[derive(csskit_derives::NodeWithMetadata)]
527pub struct OutlineOffsetStyleValue<'a>;
528
529#[syntax(" auto | <outline-line-style> ")]
541#[derive(
542 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
543)]
544#[declaration_metadata(
545 initial = "none",
546 applies_to = Elements,
547 animation_type = ByComputedValue,
548 shorthand_group = Outline,
549 property_group = Ui,
550 computed_value_type = Unknown,
551 canonical_order = "per grammar",
552)]
553#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
554#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-style"))]
555#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
556#[derive(csskit_derives::NodeWithMetadata)]
557pub struct OutlineStyleStyleValue<'a>;
558
559#[syntax(" <line-width> ")]
571#[derive(
572 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
573)]
574#[declaration_metadata(
575 initial = "medium",
576 applies_to = Elements,
577 animation_type = ByComputedValue,
578 shorthand_group = Outline,
579 property_group = Ui,
580 computed_value_type = AbsoluteLength,
581 canonical_order = "per grammar",
582)]
583#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
584#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.outline-width"))]
585#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
586#[derive(csskit_derives::NodeWithMetadata)]
587pub struct OutlineWidthStyleValue<'a>;
588
589#[syntax(
601 " auto | none | all | fill | stroke | visible | painted | visiblePainted | visibleFill | visibleStroke | bounding-box "
602)]
603#[derive(
604 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
605)]
606#[declaration_metadata(
607 initial = "auto",
608 inherits,
609 applies_to = Elements,
610 animation_type = ByComputedValue,
611 property_group = Ui,
612 computed_value_type = Unknown,
613 canonical_order = "per grammar",
614)]
615#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
616#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pointer-events"))]
617#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
618#[derive(csskit_derives::NodeWithMetadata)]
619pub enum PointerEventsStyleValue<'a> {}
620
621#[syntax(" none | both | horizontal | vertical | block | inline ")]
633#[derive(
634 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
635)]
636#[declaration_metadata(
637 initial = "none",
638 applies_to = Unknown,
639 animation_type = Discrete,
640 property_group = Ui,
641 computed_value_type = Unknown,
642 canonical_order = "per grammar",
643)]
644#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
645#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.resize"))]
646#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
647#[derive(csskit_derives::NodeWithMetadata)]
648pub enum ResizeStyleValue<'a> {}
649
650#[syntax(" auto | text | none | contain | all ")]
662#[derive(
663 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
664)]
665#[declaration_metadata(
666 initial = "auto",
667 applies_to = Unknown,
668 animation_type = Discrete,
669 property_group = Ui,
670 computed_value_type = Unknown,
671 canonical_order = "per grammar",
672)]
673#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
674#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.user-select"))]
675#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
676#[derive(csskit_derives::NodeWithMetadata)]
677pub enum UserSelectStyleValue<'a> {}
678
679#[syntax(" none | move ")]
689#[derive(
690 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
691)]
692#[declaration_metadata(
693 initial = "none",
694 inherits,
695 applies_to = Elements,
696 animation_type = Discrete,
697 property_group = Ui,
698 computed_value_type = AsSpecified,
699 canonical_order = "per grammar",
700)]
701#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
702#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.window-drag"))]
703#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
704#[derive(csskit_derives::NodeWithMetadata)]
705pub enum WindowDragStyleValue<'a> {}