1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" bounding-box | slice | clone ")]
66#[derive(
67 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
68)]
69#[declaration_metadata(
70 initial = "bounding-box",
71 inherits = Unknown,
72 applies_to = Elements,
73 animation_type = Discrete,
74 property_group = FillStroke,
75 computed_value_type = AsSpecified,
76 canonical_order = "per grammar",
77)]
78#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
79#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-break"))]
80#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
81#[derive(csskit_derives::NodeWithMetadata)]
82pub enum FillBreakStyleValue {}
83
84#[syntax(" <color> ")]
94#[derive(
95 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
96)]
97#[declaration_metadata(
98 initial = "currentcolor",
99 inherits,
100 applies_to = Unknown,
101 animation_type = ByComputedValue,
102 property_group = FillStroke,
103 computed_value_type = Unknown,
104 canonical_order = "per grammar",
105)]
106#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
107#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-color"))]
108#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
109#[derive(csskit_derives::NodeWithMetadata)]
110pub struct FillColorStyleValue<'a>;
111
112#[syntax(" <paint># ")]
122#[derive(
123 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
124)]
125#[declaration_metadata(
126 initial = "none",
127 inherits,
128 applies_to = Unknown,
129 animation_type = RepeatableList,
130 property_group = FillStroke,
131 computed_value_type = AsSpecified,
132 canonical_order = "per grammar",
133)]
134#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
135#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-image"))]
136#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
137#[derive(csskit_derives::NodeWithMetadata)]
138pub struct FillImageStyleValue<'a>;
139
140#[syntax(" <'opacity'> ")]
152#[derive(
153 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
154)]
155#[declaration_metadata(
156 initial = "1",
157 inherits,
158 applies_to = Unknown,
159 animation_type = ByComputedValue,
160 property_group = FillStroke,
161 computed_value_type = Unknown,
162 canonical_order = "per grammar",
163)]
164#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
165#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-opacity"))]
166#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
167#[derive(csskit_derives::NodeWithMetadata)]
168pub struct FillOpacityStyleValue;
169
170#[syntax(" match-parent | fill-box | stroke-box | content-box | padding-box | border-box ")]
180#[derive(
181 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
182)]
183#[declaration_metadata(
184 initial = "match-parent",
185 applies_to = Elements,
186 animation_type = Discrete,
187 property_group = FillStroke,
188 computed_value_type = AsSpecified,
189 canonical_order = "per grammar",
190)]
191#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
192#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-origin"))]
193#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
194#[derive(csskit_derives::NodeWithMetadata)]
195pub enum FillOriginStyleValue {}
196
197#[syntax(" <position># ")]
207#[derive(
208 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
209)]
210#[declaration_metadata(
211 initial = "0% 0%",
212 inherits,
213 applies_to = Unknown,
214 animation_type = RepeatableList,
215 property_group = FillStroke,
216 computed_value_type = AbsoluteLengthOrPercentage,
217 canonical_order = "per grammar",
218)]
219#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
220#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-position"))]
221#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
222#[derive(csskit_derives::NodeWithMetadata)]
223pub struct FillPositionStyleValue<'a>;
224
225#[syntax(" <repeat-style># ")]
235#[derive(
236 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
237)]
238#[declaration_metadata(
239 initial = "repeat",
240 inherits,
241 applies_to = Unknown,
242 animation_type = Discrete,
243 property_group = FillStroke,
244 computed_value_type = Unknown,
245 canonical_order = "per grammar",
246)]
247#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
248#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-repeat"))]
249#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
250#[derive(csskit_derives::NodeWithMetadata)]
251pub struct FillRepeatStyleValue<'a>;
252
253#[syntax(" nonzero | evenodd ")]
265#[derive(
266 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
267)]
268#[declaration_metadata(
269 initial = "nonzero",
270 inherits,
271 applies_to = Unknown,
272 animation_type = Discrete,
273 property_group = FillStroke,
274 computed_value_type = AsSpecified,
275 canonical_order = "per grammar",
276)]
277#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
278#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-rule"))]
279#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
280#[derive(csskit_derives::NodeWithMetadata)]
281pub enum FillRuleStyleValue {}
282
283#[syntax(" <bg-size># ")]
293#[derive(
294 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
295)]
296#[declaration_metadata(
297 initial = "auto",
298 inherits,
299 applies_to = Unknown,
300 animation_type = RepeatableList,
301 property_group = FillStroke,
302 computed_value_type = AsSpecified,
303 canonical_order = "per grammar",
304)]
305#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
306#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-size"))]
307#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
308#[derive(csskit_derives::NodeWithMetadata)]
309pub struct FillSizeStyleValue<'a>;
310
311#[syntax(" center | inset | outset ")]
367#[derive(
368 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
369)]
370#[declaration_metadata(
371 initial = "center",
372 inherits,
373 applies_to = Unknown,
374 animation_type = Discrete,
375 property_group = FillStroke,
376 computed_value_type = AsSpecified,
377 canonical_order = "per grammar",
378)]
379#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
380#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-align"))]
381#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
382#[derive(csskit_derives::NodeWithMetadata)]
383pub enum StrokeAlignStyleValue {}
384
385#[syntax(" bounding-box | slice | clone ")]
395#[derive(
396 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
397)]
398#[declaration_metadata(
399 initial = "bounding-box",
400 inherits = Unknown,
401 applies_to = Elements,
402 animation_type = Discrete,
403 property_group = FillStroke,
404 computed_value_type = AsSpecified,
405 canonical_order = "per grammar",
406)]
407#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
408#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-break"))]
409#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
410#[derive(csskit_derives::NodeWithMetadata)]
411pub enum StrokeBreakStyleValue {}
412
413#[syntax(" <color># ")]
425#[derive(
426 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
427)]
428#[declaration_metadata(
429 initial = "transparent",
430 inherits,
431 applies_to = Unknown,
432 animation_type = ByComputedValue,
433 property_group = FillStroke,
434 computed_value_type = Unknown,
435 canonical_order = "per grammar",
436)]
437#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
438#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-color"))]
439#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
440#[derive(csskit_derives::NodeWithMetadata)]
441pub struct StrokeColorStyleValue<'a>;
442
443#[syntax(" none | <length> ")]
453#[derive(
454 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
455)]
456#[declaration_metadata(
457 initial = "none",
458 inherits,
459 applies_to = Unknown,
460 animation_type = Discrete,
461 property_group = FillStroke,
462 computed_value_type = Unknown,
463 canonical_order = "per grammar",
464)]
465#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
466#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dash-corner"))]
467#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
468#[derive(csskit_derives::NodeWithMetadata)]
469pub struct StrokeDashCornerStyleValue;
470
471#[syntax(" none | [ stretch | compress ] || [ dashes || gaps ] ")]
481#[derive(
482 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
483)]
484#[declaration_metadata(
485 initial = "none",
486 inherits,
487 applies_to = Unknown,
488 animation_type = Discrete,
489 property_group = FillStroke,
490 computed_value_type = Unknown,
491 canonical_order = "per grammar",
492)]
493#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
494#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dash-justify"))]
495#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
496#[derive(csskit_derives::NodeWithMetadata)]
497pub enum StrokeDashJustifyStyleValue {}
498
499#[syntax(" none | <length-percentage>+# ")]
511#[derive(
512 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
513)]
514#[declaration_metadata(
515 initial = "none",
516 inherits,
517 applies_to = Unknown,
518 animation_type = RepeatableList,
519 percentages = Unknown,
520 property_group = FillStroke,
521 computed_value_type = AsSpecified,
522 canonical_order = "per grammar",
523)]
524#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
525#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dasharray"))]
526#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
527#[derive(csskit_derives::NodeWithMetadata)]
528pub struct StrokeDasharrayStyleValue<'a>;
529
530#[syntax(" <length-percentage> ")]
542#[derive(
543 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
544)]
545#[declaration_metadata(
546 initial = "0",
547 inherits,
548 applies_to = Unknown,
549 animation_type = RepeatableList,
550 percentages = Unknown,
551 property_group = FillStroke,
552 computed_value_type = AsSpecified,
553 canonical_order = "per grammar",
554)]
555#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
556#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dashoffset"))]
557#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
558#[derive(csskit_derives::NodeWithMetadata)]
559pub struct StrokeDashoffsetStyleValue;
560
561#[syntax(" <paint># ")]
571#[derive(
572 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
573)]
574#[declaration_metadata(
575 initial = "none",
576 inherits,
577 applies_to = Unknown,
578 animation_type = RepeatableList,
579 property_group = FillStroke,
580 computed_value_type = AsSpecified,
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.stroke-image"))]
585#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
586#[derive(csskit_derives::NodeWithMetadata)]
587pub struct StrokeImageStyleValue<'a>;
588
589#[syntax(" butt | round | square ")]
601#[derive(
602 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
603)]
604#[declaration_metadata(
605 initial = "butt",
606 inherits,
607 applies_to = Unknown,
608 animation_type = Discrete,
609 property_group = FillStroke,
610 computed_value_type = AsSpecified,
611 canonical_order = "per grammar",
612)]
613#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
614#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-linecap"))]
615#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
616#[derive(csskit_derives::NodeWithMetadata)]
617pub enum StrokeLinecapStyleValue {}
618
619#[syntax(" [ crop | arcs | miter ] || [ bevel | round | fallback ] ")]
631#[derive(
632 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
633)]
634#[declaration_metadata(
635 initial = "miter",
636 inherits,
637 applies_to = Unknown,
638 animation_type = Discrete,
639 property_group = FillStroke,
640 computed_value_type = AsSpecified,
641 canonical_order = "per grammar",
642)]
643#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
644#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-linejoin"))]
645#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
646#[derive(csskit_derives::NodeWithMetadata)]
647pub enum StrokeLinejoinStyleValue {}
648
649#[syntax(" <number> ")]
661#[derive(
662 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
663)]
664#[declaration_metadata(
665 initial = "4",
666 inherits,
667 applies_to = Unknown,
668 animation_type = Discrete,
669 property_group = FillStroke,
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.stroke-miterlimit"))]
675#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
676#[derive(csskit_derives::NodeWithMetadata)]
677pub struct StrokeMiterlimitStyleValue;
678
679#[syntax(" <'opacity'> ")]
691#[derive(
692 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
693)]
694#[declaration_metadata(
695 initial = "1",
696 inherits,
697 applies_to = Unknown,
698 animation_type = ByComputedValue,
699 property_group = FillStroke,
700 computed_value_type = Unknown,
701 canonical_order = "per grammar",
702)]
703#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
704#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-opacity"))]
705#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
706#[derive(csskit_derives::NodeWithMetadata)]
707pub struct StrokeOpacityStyleValue;
708
709#[syntax(" match-parent | fill-box | stroke-box | content-box | padding-box | border-box ")]
719#[derive(
720 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
721)]
722#[declaration_metadata(
723 initial = "match-parent",
724 applies_to = Elements,
725 animation_type = Discrete,
726 property_group = FillStroke,
727 computed_value_type = AsSpecified,
728 canonical_order = "per grammar",
729)]
730#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
731#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-origin"))]
732#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
733#[derive(csskit_derives::NodeWithMetadata)]
734pub enum StrokeOriginStyleValue {}
735
736#[syntax(" <position># ")]
746#[derive(
747 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
748)]
749#[declaration_metadata(
750 initial = "0% 0%",
751 inherits,
752 applies_to = Unknown,
753 animation_type = RepeatableList,
754 property_group = FillStroke,
755 computed_value_type = AbsoluteLengthOrPercentage,
756 canonical_order = "per grammar",
757)]
758#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
759#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-position"))]
760#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
761#[derive(csskit_derives::NodeWithMetadata)]
762pub struct StrokePositionStyleValue<'a>;
763
764#[syntax(" <repeat-style># ")]
774#[derive(
775 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
776)]
777#[declaration_metadata(
778 initial = "repeat",
779 inherits,
780 applies_to = Unknown,
781 animation_type = Discrete,
782 property_group = FillStroke,
783 computed_value_type = Unknown,
784 canonical_order = "per grammar",
785)]
786#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
787#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-repeat"))]
788#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
789#[derive(csskit_derives::NodeWithMetadata)]
790pub struct StrokeRepeatStyleValue<'a>;
791
792#[syntax(" <bg-size># ")]
802#[derive(
803 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
804)]
805#[declaration_metadata(
806 initial = "auto",
807 inherits,
808 applies_to = Unknown,
809 animation_type = RepeatableList,
810 property_group = FillStroke,
811 computed_value_type = AsSpecified,
812 canonical_order = "per grammar",
813)]
814#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
815#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-size"))]
816#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
817#[derive(csskit_derives::NodeWithMetadata)]
818pub struct StrokeSizeStyleValue<'a>;
819
820#[syntax(" [ <length-percentage> | <line-width> ]# ")]
832#[derive(
833 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
834)]
835#[declaration_metadata(
836 initial = "1px",
837 inherits,
838 applies_to = Unknown,
839 animation_type = ByComputedValue,
840 percentages = Unknown,
841 property_group = FillStroke,
842 computed_value_type = AbsoluteLengthOrPercentage,
843 canonical_order = "per grammar",
844)]
845#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
846#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-width"))]
847#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
848#[derive(csskit_derives::NodeWithMetadata)]
849pub struct StrokeWidthStyleValue<'a>;