1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" <'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'> ")]
20#[derive(
21 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
22)]
23#[declaration_metadata(
24 initial = "see individual properties",
25 applies_to = Block,
26 animation_type = Unknown,
27 property_group = Rhythm,
28 computed_value_type = Unknown,
29 canonical_order = "per grammar",
30)]
31#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
32#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.block-step"))]
33#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
34#[derive(csskit_derives::NodeWithMetadata)]
35pub struct BlockStepStyleValue;
36
37#[syntax(" auto | center | start | end ")]
47#[derive(
48 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
49)]
50#[declaration_metadata(
51 initial = "auto",
52 applies_to = Block,
53 animation_type = Discrete,
54 property_group = Rhythm,
55 computed_value_type = Unknown,
56 canonical_order = "per grammar",
57)]
58#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
59#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.block-step-align"))]
60#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
61#[derive(csskit_derives::NodeWithMetadata)]
62pub enum BlockStepAlignStyleValue {}
63
64#[syntax(" margin-box | padding-box | content-box ")]
74#[derive(
75 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
76)]
77#[declaration_metadata(
78 initial = "margin-box",
79 applies_to = Block,
80 animation_type = Discrete,
81 property_group = Rhythm,
82 computed_value_type = Unknown,
83 canonical_order = "per grammar",
84)]
85#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
86#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.block-step-insert"))]
87#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
88#[derive(csskit_derives::NodeWithMetadata)]
89pub enum BlockStepInsertStyleValue {}
90
91#[syntax(" up | down | nearest ")]
101#[derive(
102 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
103)]
104#[declaration_metadata(
105 initial = "up",
106 applies_to = Block,
107 animation_type = Discrete,
108 property_group = Rhythm,
109 computed_value_type = Unknown,
110 canonical_order = "per grammar",
111)]
112#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
113#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.block-step-round"))]
114#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
115#[derive(csskit_derives::NodeWithMetadata)]
116pub enum BlockStepRoundStyleValue {}
117
118#[syntax(" none | <length [0,∞]> ")]
128#[derive(
129 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
130)]
131#[declaration_metadata(
132 initial = "none",
133 applies_to = Block,
134 animation_type = ByComputedValue,
135 property_group = Rhythm,
136 computed_value_type = SpecifiedKeywordPlusAbsoluteLength,
137 canonical_order = "per grammar",
138)]
139#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
140#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.block-step-size"))]
141#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
142#[derive(csskit_derives::NodeWithMetadata)]
143pub struct BlockStepSizeStyleValue;
144
145#[syntax(" <length [0,∞]> ")]
155#[derive(
156 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
157)]
158#[declaration_metadata(
159 initial = "0",
160 inherits,
161 applies_to = Block,
162 animation_type = ByComputedValue,
163 property_group = Rhythm,
164 computed_value_type = AbsoluteLength,
165 canonical_order = "per grammar",
166)]
167#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
168#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.line-height-step"))]
169#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
170#[derive(csskit_derives::NodeWithMetadata)]
171pub struct LineHeightStepStyleValue;