1#![allow(warnings)]
2mod impls;
5use super::prelude::*;
6use impls::*;
7#[syntax(" separate | collapse ")]
19#[derive(
20 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
21)]
22#[declaration_metadata(
23 initial = "separate",
24 inherits,
25 applies_to = Unknown,
26 animation_type = Discrete,
27 property_group = Tables,
28 computed_value_type = Unknown,
29 canonical_order = "per grammar",
30 box_portion = Border,
31)]
32#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
33#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.border-collapse"))]
34#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
35pub enum BorderCollapseStyleValue {}
36
37#[syntax(" <length>{1,2} ")]
49#[derive(
50 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
51)]
52#[declaration_metadata(
53 initial = "0px 0px",
54 inherits,
55 applies_to = Unknown,
56 animation_type = ByComputedValue,
57 property_group = Tables,
58 computed_value_type = TwoAbsoluteLengths,
59 canonical_order = "per grammar",
60 box_portion = Border,
61)]
62#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
63#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.border-spacing"))]
64#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
65pub struct BorderSpacingStyleValue;
66
67#[syntax(" top | bottom ")]
79#[derive(
80 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
81)]
82#[declaration_metadata(
83 initial = "top",
84 inherits,
85 applies_to = Unknown,
86 animation_type = Discrete,
87 property_group = Tables,
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.caption-side"))]
93#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
94pub enum CaptionSideStyleValue {}
95
96#[syntax(" show | hide ")]
108#[derive(
109 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
110)]
111#[declaration_metadata(
112 initial = "show",
113 inherits,
114 applies_to = Unknown,
115 animation_type = Discrete,
116 property_group = Tables,
117 computed_value_type = Unknown,
118 canonical_order = "per grammar",
119)]
120#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
121#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.empty-cells"))]
122#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
123pub enum EmptyCellsStyleValue {}
124
125#[syntax(" auto | fixed ")]
137#[derive(
138 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
139)]
140#[declaration_metadata(
141 initial = "auto",
142 applies_to = Unknown,
143 animation_type = Discrete,
144 property_group = Tables,
145 computed_value_type = Unknown,
146 canonical_order = "per grammar",
147)]
148#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
149#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.table-layout"))]
150#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
151pub enum TableLayoutStyleValue {}