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(" <'opacity'> ")]
168#[derive(
169 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
170)]
171#[declaration_metadata(
172 initial = "1",
173 inherits,
174 applies_to = Unknown,
175 animation_type = ByComputedValue,
176 property_group = FillStroke,
177 computed_value_type = Unknown,
178 canonical_order = "per grammar",
179)]
180#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
181#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-opacity"))]
182#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
183#[derive(csskit_derives::NodeWithMetadata)]
184pub struct FillOpacityStyleValue;
185
186#[syntax(" match-parent | fill-box | stroke-box | content-box | padding-box | border-box ")]
196#[derive(
197 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
198)]
199#[declaration_metadata(
200 initial = "match-parent",
201 applies_to = Elements,
202 animation_type = Discrete,
203 property_group = FillStroke,
204 computed_value_type = AsSpecified,
205 canonical_order = "per grammar",
206)]
207#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
208#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-origin"))]
209#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
210#[derive(csskit_derives::NodeWithMetadata)]
211pub enum FillOriginStyleValue {}
212
213#[syntax(" <position># ")]
223#[derive(
224 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
225)]
226#[declaration_metadata(
227 initial = "0% 0%",
228 inherits,
229 applies_to = Unknown,
230 animation_type = RepeatableList,
231 property_group = FillStroke,
232 computed_value_type = AbsoluteLengthOrPercentage,
233 canonical_order = "per grammar",
234)]
235#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
236#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-position"))]
237#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
238#[derive(csskit_derives::NodeWithMetadata)]
239pub struct FillPositionStyleValue<'a>;
240
241#[syntax(" <repeat-style># ")]
251#[derive(
252 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
253)]
254#[declaration_metadata(
255 initial = "repeat",
256 inherits,
257 applies_to = Unknown,
258 animation_type = Discrete,
259 property_group = FillStroke,
260 computed_value_type = Unknown,
261 canonical_order = "per grammar",
262)]
263#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
264#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-repeat"))]
265#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
266#[derive(csskit_derives::NodeWithMetadata)]
267pub struct FillRepeatStyleValue<'a>;
268
269#[syntax(" nonzero | evenodd ")]
281#[derive(
282 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
283)]
284#[declaration_metadata(
285 initial = "nonzero",
286 inherits,
287 applies_to = Unknown,
288 animation_type = Discrete,
289 property_group = FillStroke,
290 computed_value_type = AsSpecified,
291 canonical_order = "per grammar",
292)]
293#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
294#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-rule"))]
295#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
296#[derive(csskit_derives::NodeWithMetadata)]
297pub enum FillRuleStyleValue {}
298
299#[syntax(" <bg-size># ")]
309#[derive(
310 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
311)]
312#[declaration_metadata(
313 initial = "auto",
314 inherits,
315 applies_to = Unknown,
316 animation_type = RepeatableList,
317 property_group = FillStroke,
318 computed_value_type = AsSpecified,
319 canonical_order = "per grammar",
320)]
321#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
322#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.fill-size"))]
323#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
324#[derive(csskit_derives::NodeWithMetadata)]
325pub struct FillSizeStyleValue<'a>;
326
327#[syntax(" center | inset | outset ")]
383#[derive(
384 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
385)]
386#[declaration_metadata(
387 initial = "center",
388 inherits,
389 applies_to = Unknown,
390 animation_type = Discrete,
391 property_group = FillStroke,
392 computed_value_type = AsSpecified,
393 canonical_order = "per grammar",
394)]
395#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
396#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-align"))]
397#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
398#[derive(csskit_derives::NodeWithMetadata)]
399pub enum StrokeAlignStyleValue {}
400
401#[syntax(" bounding-box | slice | clone ")]
411#[derive(
412 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
413)]
414#[declaration_metadata(
415 initial = "bounding-box",
416 inherits = Unknown,
417 applies_to = Elements,
418 animation_type = Discrete,
419 property_group = FillStroke,
420 computed_value_type = AsSpecified,
421 canonical_order = "per grammar",
422)]
423#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
424#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-break"))]
425#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
426#[derive(csskit_derives::NodeWithMetadata)]
427pub enum StrokeBreakStyleValue {}
428
429#[syntax(" <color># ")]
441#[derive(
442 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
443)]
444#[declaration_metadata(
445 initial = "transparent",
446 inherits,
447 applies_to = Unknown,
448 animation_type = ByComputedValue,
449 property_group = FillStroke,
450 computed_value_type = Unknown,
451 canonical_order = "per grammar",
452)]
453#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
454#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-color"))]
455#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
456#[derive(csskit_derives::NodeWithMetadata)]
457pub struct StrokeColorStyleValue<'a>;
458
459#[syntax(" none | <length> ")]
469#[derive(
470 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
471)]
472#[declaration_metadata(
473 initial = "none",
474 inherits,
475 applies_to = Unknown,
476 animation_type = Discrete,
477 property_group = FillStroke,
478 computed_value_type = Unknown,
479 canonical_order = "per grammar",
480)]
481#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
482#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dash-corner"))]
483#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
484#[derive(csskit_derives::NodeWithMetadata)]
485pub struct StrokeDashCornerStyleValue;
486
487#[syntax(" none | [ stretch | compress ] || [ dashes || gaps ] ")]
497#[derive(
498 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
499)]
500#[declaration_metadata(
501 initial = "none",
502 inherits,
503 applies_to = Unknown,
504 animation_type = Discrete,
505 property_group = FillStroke,
506 computed_value_type = Unknown,
507 canonical_order = "per grammar",
508)]
509#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
510#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dash-justify"))]
511#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
512#[derive(csskit_derives::NodeWithMetadata)]
513pub enum StrokeDashJustifyStyleValue {}
514
515#[syntax(" none | <length-percentage>+# ")]
527#[derive(
528 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
529)]
530#[declaration_metadata(
531 initial = "none",
532 inherits,
533 applies_to = Unknown,
534 animation_type = RepeatableList,
535 percentages = Unknown,
536 property_group = FillStroke,
537 computed_value_type = AsSpecified,
538 canonical_order = "per grammar",
539)]
540#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
541#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dasharray"))]
542#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
543#[derive(csskit_derives::NodeWithMetadata)]
544pub struct StrokeDasharrayStyleValue<'a>;
545
546#[syntax(" <length-percentage> ")]
558#[derive(
559 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
560)]
561#[declaration_metadata(
562 initial = "0",
563 inherits,
564 applies_to = Unknown,
565 animation_type = RepeatableList,
566 percentages = Unknown,
567 property_group = FillStroke,
568 computed_value_type = AsSpecified,
569 canonical_order = "per grammar",
570)]
571#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
572#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-dashoffset"))]
573#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
574#[derive(csskit_derives::NodeWithMetadata)]
575pub struct StrokeDashoffsetStyleValue;
576
577#[syntax(" butt | round | square ")]
633#[derive(
634 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
635)]
636#[declaration_metadata(
637 initial = "butt",
638 inherits,
639 applies_to = Unknown,
640 animation_type = Discrete,
641 property_group = FillStroke,
642 computed_value_type = AsSpecified,
643 canonical_order = "per grammar",
644)]
645#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
646#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-linecap"))]
647#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
648#[derive(csskit_derives::NodeWithMetadata)]
649pub enum StrokeLinecapStyleValue {}
650
651#[syntax(" [ crop | arcs | miter ] || [ bevel | round | fallback ] ")]
663#[derive(
664 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
665)]
666#[declaration_metadata(
667 initial = "miter",
668 inherits,
669 applies_to = Unknown,
670 animation_type = Discrete,
671 property_group = FillStroke,
672 computed_value_type = AsSpecified,
673 canonical_order = "per grammar",
674)]
675#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
676#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-linejoin"))]
677#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
678#[derive(csskit_derives::NodeWithMetadata)]
679pub enum StrokeLinejoinStyleValue {}
680
681#[syntax(" <number> ")]
693#[derive(
694 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
695)]
696#[declaration_metadata(
697 initial = "4",
698 inherits,
699 applies_to = Unknown,
700 animation_type = Discrete,
701 property_group = FillStroke,
702 computed_value_type = Unknown,
703 canonical_order = "per grammar",
704)]
705#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
706#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-miterlimit"))]
707#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
708#[derive(csskit_derives::NodeWithMetadata)]
709pub struct StrokeMiterlimitStyleValue;
710
711#[syntax(" <'opacity'> ")]
723#[derive(
724 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
725)]
726#[declaration_metadata(
727 initial = "1",
728 inherits,
729 applies_to = Unknown,
730 animation_type = ByComputedValue,
731 property_group = FillStroke,
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.stroke-opacity"))]
737#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
738#[derive(csskit_derives::NodeWithMetadata)]
739pub struct StrokeOpacityStyleValue;
740
741#[syntax(" match-parent | fill-box | stroke-box | content-box | padding-box | border-box ")]
751#[derive(
752 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
753)]
754#[declaration_metadata(
755 initial = "match-parent",
756 applies_to = Elements,
757 animation_type = Discrete,
758 property_group = FillStroke,
759 computed_value_type = AsSpecified,
760 canonical_order = "per grammar",
761)]
762#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
763#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-origin"))]
764#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
765#[derive(csskit_derives::NodeWithMetadata)]
766pub enum StrokeOriginStyleValue {}
767
768#[syntax(" <position># ")]
778#[derive(
779 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
780)]
781#[declaration_metadata(
782 initial = "0% 0%",
783 inherits,
784 applies_to = Unknown,
785 animation_type = RepeatableList,
786 property_group = FillStroke,
787 computed_value_type = AbsoluteLengthOrPercentage,
788 canonical_order = "per grammar",
789)]
790#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
791#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-position"))]
792#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
793#[derive(csskit_derives::NodeWithMetadata)]
794pub struct StrokePositionStyleValue<'a>;
795
796#[syntax(" <repeat-style># ")]
806#[derive(
807 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
808)]
809#[declaration_metadata(
810 initial = "repeat",
811 inherits,
812 applies_to = Unknown,
813 animation_type = Discrete,
814 property_group = FillStroke,
815 computed_value_type = Unknown,
816 canonical_order = "per grammar",
817)]
818#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
819#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-repeat"))]
820#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
821#[derive(csskit_derives::NodeWithMetadata)]
822pub struct StrokeRepeatStyleValue<'a>;
823
824#[syntax(" <bg-size># ")]
834#[derive(
835 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
836)]
837#[declaration_metadata(
838 initial = "auto",
839 inherits,
840 applies_to = Unknown,
841 animation_type = RepeatableList,
842 property_group = FillStroke,
843 computed_value_type = AsSpecified,
844 canonical_order = "per grammar",
845)]
846#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
847#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-size"))]
848#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
849#[derive(csskit_derives::NodeWithMetadata)]
850pub struct StrokeSizeStyleValue<'a>;
851
852#[syntax(" [ <length-percentage> | <line-width> ]# ")]
864#[derive(
865 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
866)]
867#[declaration_metadata(
868 initial = "1px",
869 inherits,
870 applies_to = Unknown,
871 animation_type = ByComputedValue,
872 percentages = Unknown,
873 property_group = FillStroke,
874 computed_value_type = AbsoluteLengthOrPercentage,
875 canonical_order = "per grammar",
876)]
877#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
878#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.stroke-width"))]
879#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
880#[derive(csskit_derives::NodeWithMetadata)]
881pub struct StrokeWidthStyleValue<'a>;