Skip to main content

css_ast/values/gaps/
mod.rs

1// AUTO-GENERATED from w3c/csswg-drafts
2// Commit: https://github.com/w3c/csswg-drafts/commit/ddbceaa3cee88f134d557c3051c26fcb5554a535
3// Do not edit this file directly.
4#![allow(warnings)]
5//! https://drafts.csswg.org/css-gaps-1/
6
7mod impls;
8use super::prelude::*;
9use impls::*;
10/// Represents the style value for `column-gap` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-gap).
11///
12/// Multi-column layout flows an element's content across one or more columns in a single row, without affecting the display property of its children.
13///
14/// The grammar is defined as:
15///
16/// ```text,ignore
17/// normal | <length-percentage [0,∞]> | <line-width>
18/// ```
19///
20/// https://drafts.csswg.org/css-gaps-1/#column-gap
21#[syntax(" normal | <length-percentage [0,∞]> | <line-width> ")]
22#[derive(
23	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
24)]
25#[declaration_metadata(
26    initial = "normal",
27    applies_to = Unknown,
28    animation_type = ByComputedValue,
29    percentages = Unknown,
30    shorthand_group = Gap,
31    property_group = Gaps,
32    computed_value_type = Unknown,
33    canonical_order = "per grammar",
34)]
35#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
36#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-gap"))]
37#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
38#[derive(csskit_derives::NodeWithMetadata)]
39pub enum ColumnGapStyleValue {}
40
41/// Represents the style value for `column-rule` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule).
42///
43/// Multi-column layout flows an element's content across one or more columns in a single row, without affecting the display property of its children.
44///
45/// The grammar is defined as:
46///
47/// ```text,ignore
48/// <gap-rule-list> | <gap-auto-rule-list>
49/// ```
50///
51/// https://drafts.csswg.org/css-gaps-1/#column-rule
52#[syntax(" <gap-rule-list> | <gap-auto-rule-list> ")]
53#[derive(
54	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
55)]
56#[declaration_metadata(
57    initial = "see individual properties",
58    inherits = Unknown,
59    applies_to = Unknown,
60    animation_type = Unknown,
61    percentages = Unknown,
62    longhands = ColumnRuleColor|ColumnRuleStyle|ColumnRuleWidth,
63    property_group = Gaps,
64    computed_value_type = Unknown,
65    canonical_order = "per grammar",
66)]
67#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
68#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule"))]
69#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
70#[derive(csskit_derives::NodeWithMetadata)]
71pub struct ColumnRuleStyleValue<'a>;
72
73/// Represents the style value for `column-rule-break` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-break).
74///
75/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
76///
77/// The grammar is defined as:
78///
79/// ```text,ignore
80/// none | normal | intersection
81/// ```
82///
83/// https://drafts.csswg.org/css-gaps-1/#column-rule-break
84#[syntax(" none | normal | intersection ")]
85#[derive(
86	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
87)]
88#[declaration_metadata(
89    initial = "normal",
90    applies_to = Unknown,
91    animation_type = Discrete,
92    property_group = Gaps,
93    computed_value_type = AsSpecified,
94    canonical_order = "per grammar",
95)]
96#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
97#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-break"))]
98#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
99#[derive(csskit_derives::NodeWithMetadata)]
100pub enum ColumnRuleBreakStyleValue {}
101
102/// Represents the style value for `column-rule-color` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-color).
103///
104/// Multi-column layout flows an element's content across one or more columns in a single row, without affecting the display property of its children.
105///
106/// The grammar is defined as:
107///
108/// ```text,ignore
109/// <line-color-list> | <auto-line-color-list>
110/// ```
111///
112/// https://drafts.csswg.org/css-gaps-1/#column-rule-color
113#[syntax(" <line-color-list> | <auto-line-color-list> ")]
114#[derive(
115	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
116)]
117#[declaration_metadata(
118    initial = "currentcolor",
119    applies_to = Unknown,
120    animation_type = RepeatableList,
121    shorthand_group = ColumnRule,
122    property_group = Gaps,
123    computed_value_type = AsSpecified,
124    canonical_order = "per grammar",
125)]
126#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
127#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-color"))]
128#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
129#[derive(csskit_derives::NodeWithMetadata)]
130pub enum ColumnRuleColorStyleValue {}
131
132/// Represents the style value for `column-rule-inset` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset).
133///
134/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
135///
136/// The grammar is defined as:
137///
138/// ```text,ignore
139/// <'column-rule-inset-cap'> [ / <'column-rule-inset-junction'> ]?
140/// ```
141///
142/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset
143#[syntax(" <'column-rule-inset-cap'> [ / <'column-rule-inset-junction'> ]? ")]
144#[derive(
145	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
146)]
147#[declaration_metadata(
148    initial = "see individual properties",
149    inherits = Unknown,
150    applies_to = Unknown,
151    animation_type = Unknown,
152    percentages = Unknown,
153    property_group = Gaps,
154    computed_value_type = Unknown,
155    canonical_order = "per grammar",
156)]
157#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
158#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-inset"))]
159#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
160#[derive(csskit_derives::NodeWithMetadata)]
161pub struct ColumnRuleInsetStyleValue;
162
163/// Represents the style value for `column-rule-inset-cap` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-cap).
164///
165/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
166///
167/// The grammar is defined as:
168///
169/// ```text,ignore
170/// <inset-value> <inset-value>?
171/// ```
172///
173/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-cap
174#[syntax(" <inset-value> <inset-value>? ")]
175#[derive(
176	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
177)]
178#[declaration_metadata(
179    initial = "see individual properties",
180    inherits = Unknown,
181    applies_to = Unknown,
182    animation_type = Unknown,
183    percentages = Unknown,
184    property_group = Gaps,
185    computed_value_type = Unknown,
186    canonical_order = "per grammar",
187)]
188#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
189#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-inset-cap"))]
190#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
191#[derive(csskit_derives::NodeWithMetadata)]
192pub struct ColumnRuleInsetCapStyleValue;
193
194/// Represents the style value for `column-rule-inset-cap-end` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-cap-end).
195///
196/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
197///
198/// The grammar is defined as:
199///
200/// ```text,ignore
201/// <inset-value>
202/// ```
203///
204/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-cap-end
205#[syntax(" <inset-value> ")]
206#[derive(
207	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
208)]
209#[declaration_metadata(
210    initial = "0",
211    applies_to = Unknown,
212    animation_type = ByComputedValue,
213    percentages = Unknown,
214    property_group = Gaps,
215    computed_value_type = AsSpecified,
216    canonical_order = "per grammar",
217)]
218#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
219#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-inset-cap-end"))]
220#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
221#[derive(csskit_derives::NodeWithMetadata)]
222pub struct ColumnRuleInsetCapEndStyleValue;
223
224/// Represents the style value for `column-rule-inset-cap-start` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-cap-start).
225///
226/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
227///
228/// The grammar is defined as:
229///
230/// ```text,ignore
231/// <inset-value>
232/// ```
233///
234/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-cap-start
235#[syntax(" <inset-value> ")]
236#[derive(
237	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
238)]
239#[declaration_metadata(
240    initial = "0",
241    applies_to = Unknown,
242    animation_type = ByComputedValue,
243    percentages = Unknown,
244    property_group = Gaps,
245    computed_value_type = AsSpecified,
246    canonical_order = "per grammar",
247)]
248#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
249#[cfg_attr(
250	feature = "css_feature_data",
251	derive(ToCSSFeature),
252	css_feature("css.properties.column-rule-inset-cap-start")
253)]
254#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
255#[derive(csskit_derives::NodeWithMetadata)]
256pub struct ColumnRuleInsetCapStartStyleValue;
257
258/// Represents the style value for `column-rule-inset-end` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-end).
259///
260/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
261///
262/// The grammar is defined as:
263///
264/// ```text,ignore
265/// <inset-value>
266/// ```
267///
268/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-end
269#[syntax(" <inset-value> ")]
270#[derive(
271	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
272)]
273#[declaration_metadata(
274    initial = "see individual properties",
275    inherits = Unknown,
276    applies_to = Unknown,
277    animation_type = Unknown,
278    percentages = Unknown,
279    property_group = Gaps,
280    computed_value_type = Unknown,
281    canonical_order = "per grammar",
282)]
283#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
284#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-inset-end"))]
285#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
286#[derive(csskit_derives::NodeWithMetadata)]
287pub struct ColumnRuleInsetEndStyleValue;
288
289/// Represents the style value for `column-rule-inset-junction` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-junction).
290///
291/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
292///
293/// The grammar is defined as:
294///
295/// ```text,ignore
296/// <inset-value> <inset-value>?
297/// ```
298///
299/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-junction
300#[syntax(" <inset-value> <inset-value>? ")]
301#[derive(
302	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
303)]
304#[declaration_metadata(
305    initial = "see individual properties",
306    inherits = Unknown,
307    applies_to = Unknown,
308    animation_type = Unknown,
309    percentages = Unknown,
310    property_group = Gaps,
311    computed_value_type = Unknown,
312    canonical_order = "per grammar",
313)]
314#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
315#[cfg_attr(
316	feature = "css_feature_data",
317	derive(ToCSSFeature),
318	css_feature("css.properties.column-rule-inset-junction")
319)]
320#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
321#[derive(csskit_derives::NodeWithMetadata)]
322pub struct ColumnRuleInsetJunctionStyleValue;
323
324/// Represents the style value for `column-rule-inset-junction-end` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-junction-end).
325///
326/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
327///
328/// The grammar is defined as:
329///
330/// ```text,ignore
331/// <inset-value>
332/// ```
333///
334/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-junction-end
335#[syntax(" <inset-value> ")]
336#[derive(
337	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
338)]
339#[declaration_metadata(
340    initial = "0",
341    applies_to = Unknown,
342    animation_type = ByComputedValue,
343    percentages = Unknown,
344    property_group = Gaps,
345    computed_value_type = AsSpecified,
346    canonical_order = "per grammar",
347)]
348#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
349#[cfg_attr(
350	feature = "css_feature_data",
351	derive(ToCSSFeature),
352	css_feature("css.properties.column-rule-inset-junction-end")
353)]
354#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
355#[derive(csskit_derives::NodeWithMetadata)]
356pub struct ColumnRuleInsetJunctionEndStyleValue;
357
358/// Represents the style value for `column-rule-inset-junction-start` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-junction-start).
359///
360/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
361///
362/// The grammar is defined as:
363///
364/// ```text,ignore
365/// <inset-value>
366/// ```
367///
368/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-junction-start
369#[syntax(" <inset-value> ")]
370#[derive(
371	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
372)]
373#[declaration_metadata(
374    initial = "0",
375    applies_to = Unknown,
376    animation_type = ByComputedValue,
377    percentages = Unknown,
378    property_group = Gaps,
379    computed_value_type = AsSpecified,
380    canonical_order = "per grammar",
381)]
382#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
383#[cfg_attr(
384	feature = "css_feature_data",
385	derive(ToCSSFeature),
386	css_feature("css.properties.column-rule-inset-junction-start")
387)]
388#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
389#[derive(csskit_derives::NodeWithMetadata)]
390pub struct ColumnRuleInsetJunctionStartStyleValue;
391
392/// Represents the style value for `column-rule-inset-start` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-inset-start).
393///
394/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
395///
396/// The grammar is defined as:
397///
398/// ```text,ignore
399/// <inset-value>
400/// ```
401///
402/// https://drafts.csswg.org/css-gaps-1/#column-rule-inset-start
403#[syntax(" <inset-value> ")]
404#[derive(
405	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
406)]
407#[declaration_metadata(
408    initial = "see individual properties",
409    inherits = Unknown,
410    applies_to = Unknown,
411    animation_type = Unknown,
412    percentages = Unknown,
413    property_group = Gaps,
414    computed_value_type = Unknown,
415    canonical_order = "per grammar",
416)]
417#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
418#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-inset-start"))]
419#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
420#[derive(csskit_derives::NodeWithMetadata)]
421pub struct ColumnRuleInsetStartStyleValue;
422
423/// Represents the style value for `column-rule-style` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-style).
424///
425/// Multi-column layout flows an element's content across one or more columns in a single row, without affecting the display property of its children.
426///
427/// The grammar is defined as:
428///
429/// ```text,ignore
430/// <line-style-list> | <auto-line-style-list>
431/// ```
432///
433/// https://drafts.csswg.org/css-gaps-1/#column-rule-style
434#[syntax(" <line-style-list> | <auto-line-style-list> ")]
435#[derive(
436	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
437)]
438#[declaration_metadata(
439    initial = "none",
440    applies_to = Unknown,
441    animation_type = Discrete,
442    shorthand_group = ColumnRule,
443    property_group = Gaps,
444    computed_value_type = AsSpecified,
445    canonical_order = "per grammar",
446)]
447#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
448#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-style"))]
449#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
450#[derive(csskit_derives::NodeWithMetadata)]
451pub enum ColumnRuleStyleStyleValue {}
452
453/// Represents the style value for `column-rule-visibility-items` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-visibility-items).
454///
455/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
456///
457/// The grammar is defined as:
458///
459/// ```text,ignore
460/// all | around | between | normal
461/// ```
462///
463/// https://drafts.csswg.org/css-gaps-1/#column-rule-visibility-items
464#[syntax(" all | around | between | normal ")]
465#[derive(
466	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
467)]
468#[declaration_metadata(
469    initial = "normal",
470    applies_to = Unknown,
471    animation_type = Discrete,
472    property_group = Gaps,
473    computed_value_type = AsSpecified,
474    canonical_order = "per grammar",
475)]
476#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
477#[cfg_attr(
478	feature = "css_feature_data",
479	derive(ToCSSFeature),
480	css_feature("css.properties.column-rule-visibility-items")
481)]
482#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
483#[derive(csskit_derives::NodeWithMetadata)]
484pub enum ColumnRuleVisibilityItemsStyleValue {}
485
486/// Represents the style value for `column-rule-width` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#column-rule-width).
487///
488/// Multi-column layout flows an element's content across one or more columns in a single row, without affecting the display property of its children.
489///
490/// The grammar is defined as:
491///
492/// ```text,ignore
493/// <line-width-list> | <auto-line-width-list>
494/// ```
495///
496/// https://drafts.csswg.org/css-gaps-1/#column-rule-width
497#[syntax(" <line-width-list> | <auto-line-width-list> ")]
498#[derive(
499	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
500)]
501#[declaration_metadata(
502    initial = "medium",
503    applies_to = Unknown,
504    animation_type = RepeatableList,
505    shorthand_group = ColumnRule,
506    property_group = Gaps,
507    computed_value_type = ListOfAbsoluteLengths,
508    canonical_order = "per grammar",
509)]
510#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
511#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.column-rule-width"))]
512#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
513#[derive(csskit_derives::NodeWithMetadata)]
514pub enum ColumnRuleWidthStyleValue<'a> {}
515
516/// Represents the style value for `gap` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#gap).
517///
518/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
519///
520/// The grammar is defined as:
521///
522/// ```text,ignore
523/// <'row-gap'> <'column-gap'>?
524/// ```
525///
526/// https://drafts.csswg.org/css-gaps-1/#gap
527#[syntax(" <'row-gap'> <'column-gap'>? ")]
528#[derive(
529	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
530)]
531#[declaration_metadata(
532    initial = "see individual properties",
533    applies_to = Unknown,
534    animation_type = ByComputedValue,
535    percentages = ContentArea,
536    longhands = ColumnGap|RowGap,
537    property_group = Gaps,
538    computed_value_type = Unknown,
539    canonical_order = "per grammar",
540)]
541#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
542#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.gap"))]
543#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
544#[derive(csskit_derives::NodeWithMetadata)]
545pub struct GapStyleValue;
546
547/// Represents the style value for `row-gap` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-gap).
548///
549/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
550///
551/// The grammar is defined as:
552///
553/// ```text,ignore
554/// normal | <length-percentage [0,∞]> | <line-width>
555/// ```
556///
557/// https://drafts.csswg.org/css-gaps-1/#row-gap
558#[syntax(" normal | <length-percentage [0,∞]> | <line-width> ")]
559#[derive(
560	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
561)]
562#[declaration_metadata(
563    initial = "normal",
564    applies_to = Unknown,
565    animation_type = ByComputedValue,
566    percentages = Unknown,
567    shorthand_group = Gap,
568    property_group = Gaps,
569    computed_value_type = Unknown,
570    canonical_order = "per grammar",
571)]
572#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
573#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-gap"))]
574#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
575#[derive(csskit_derives::NodeWithMetadata)]
576pub enum RowGapStyleValue {}
577
578/// Represents the style value for `row-rule` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule).
579///
580/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
581///
582/// The grammar is defined as:
583///
584/// ```text,ignore
585/// <gap-rule-list> | <gap-auto-rule-list>
586/// ```
587///
588/// https://drafts.csswg.org/css-gaps-1/#row-rule
589#[syntax(" <gap-rule-list> | <gap-auto-rule-list> ")]
590#[derive(
591	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
592)]
593#[declaration_metadata(
594    initial = "see individual properties",
595    inherits = Unknown,
596    applies_to = Unknown,
597    animation_type = Unknown,
598    percentages = Unknown,
599    property_group = Gaps,
600    computed_value_type = Unknown,
601    canonical_order = "per grammar",
602)]
603#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
604#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule"))]
605#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
606#[derive(csskit_derives::NodeWithMetadata)]
607pub struct RowRuleStyleValue<'a>;
608
609/// Represents the style value for `row-rule-break` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-break).
610///
611/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
612///
613/// The grammar is defined as:
614///
615/// ```text,ignore
616/// none | normal | intersection
617/// ```
618///
619/// https://drafts.csswg.org/css-gaps-1/#row-rule-break
620#[syntax(" none | normal | intersection ")]
621#[derive(
622	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
623)]
624#[declaration_metadata(
625    initial = "normal",
626    applies_to = Unknown,
627    animation_type = Discrete,
628    property_group = Gaps,
629    computed_value_type = AsSpecified,
630    canonical_order = "per grammar",
631)]
632#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
633#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-break"))]
634#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
635#[derive(csskit_derives::NodeWithMetadata)]
636pub enum RowRuleBreakStyleValue {}
637
638/// Represents the style value for `row-rule-color` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-color).
639///
640/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
641///
642/// The grammar is defined as:
643///
644/// ```text,ignore
645/// <line-color-list> | <auto-line-color-list>
646/// ```
647///
648/// https://drafts.csswg.org/css-gaps-1/#row-rule-color
649#[syntax(" <line-color-list> | <auto-line-color-list> ")]
650#[derive(
651	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
652)]
653#[declaration_metadata(
654    initial = "currentcolor",
655    applies_to = Unknown,
656    animation_type = RepeatableList,
657    property_group = Gaps,
658    computed_value_type = AsSpecified,
659    canonical_order = "per grammar",
660)]
661#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
662#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-color"))]
663#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
664#[derive(csskit_derives::NodeWithMetadata)]
665pub enum RowRuleColorStyleValue {}
666
667/// Represents the style value for `row-rule-inset` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset).
668///
669/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
670///
671/// The grammar is defined as:
672///
673/// ```text,ignore
674/// <'column-rule-inset-cap'> [ / <'column-rule-inset-junction'> ]?
675/// ```
676///
677/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset
678#[syntax(" <'column-rule-inset-cap'> [ / <'column-rule-inset-junction'> ]? ")]
679#[derive(
680	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
681)]
682#[declaration_metadata(
683    initial = "see individual properties",
684    inherits = Unknown,
685    applies_to = Unknown,
686    animation_type = Unknown,
687    percentages = Unknown,
688    property_group = Gaps,
689    computed_value_type = Unknown,
690    canonical_order = "per grammar",
691)]
692#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
693#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-inset"))]
694#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
695#[derive(csskit_derives::NodeWithMetadata)]
696pub struct RowRuleInsetStyleValue;
697
698/// Represents the style value for `row-rule-inset-cap` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-cap).
699///
700/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
701///
702/// The grammar is defined as:
703///
704/// ```text,ignore
705/// <inset-value> <inset-value>?
706/// ```
707///
708/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-cap
709#[syntax(" <inset-value> <inset-value>? ")]
710#[derive(
711	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
712)]
713#[declaration_metadata(
714    initial = "see individual properties",
715    inherits = Unknown,
716    applies_to = Unknown,
717    animation_type = Unknown,
718    percentages = Unknown,
719    property_group = Gaps,
720    computed_value_type = Unknown,
721    canonical_order = "per grammar",
722)]
723#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
724#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-inset-cap"))]
725#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
726#[derive(csskit_derives::NodeWithMetadata)]
727pub struct RowRuleInsetCapStyleValue;
728
729/// Represents the style value for `row-rule-inset-cap-end` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-cap-end).
730///
731/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
732///
733/// The grammar is defined as:
734///
735/// ```text,ignore
736/// <inset-value>
737/// ```
738///
739/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-cap-end
740#[syntax(" <inset-value> ")]
741#[derive(
742	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
743)]
744#[declaration_metadata(
745    initial = "0",
746    applies_to = Unknown,
747    animation_type = ByComputedValue,
748    percentages = Unknown,
749    property_group = Gaps,
750    computed_value_type = AsSpecified,
751    canonical_order = "per grammar",
752)]
753#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
754#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-inset-cap-end"))]
755#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
756#[derive(csskit_derives::NodeWithMetadata)]
757pub struct RowRuleInsetCapEndStyleValue;
758
759/// Represents the style value for `row-rule-inset-cap-start` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-cap-start).
760///
761/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
762///
763/// The grammar is defined as:
764///
765/// ```text,ignore
766/// <inset-value>
767/// ```
768///
769/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-cap-start
770#[syntax(" <inset-value> ")]
771#[derive(
772	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
773)]
774#[declaration_metadata(
775    initial = "0",
776    applies_to = Unknown,
777    animation_type = ByComputedValue,
778    percentages = Unknown,
779    property_group = Gaps,
780    computed_value_type = AsSpecified,
781    canonical_order = "per grammar",
782)]
783#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
784#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-inset-cap-start"))]
785#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
786#[derive(csskit_derives::NodeWithMetadata)]
787pub struct RowRuleInsetCapStartStyleValue;
788
789/// Represents the style value for `row-rule-inset-end` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-end).
790///
791/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
792///
793/// The grammar is defined as:
794///
795/// ```text,ignore
796/// <inset-value>
797/// ```
798///
799/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-end
800#[syntax(" <inset-value> ")]
801#[derive(
802	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
803)]
804#[declaration_metadata(
805    initial = "see individual properties",
806    inherits = Unknown,
807    applies_to = Unknown,
808    animation_type = Unknown,
809    percentages = Unknown,
810    property_group = Gaps,
811    computed_value_type = Unknown,
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.row-rule-inset-end"))]
816#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
817#[derive(csskit_derives::NodeWithMetadata)]
818pub struct RowRuleInsetEndStyleValue;
819
820/// Represents the style value for `row-rule-inset-junction` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-junction).
821///
822/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
823///
824/// The grammar is defined as:
825///
826/// ```text,ignore
827/// <inset-value> <inset-value>?
828/// ```
829///
830/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-junction
831#[syntax(" <inset-value> <inset-value>? ")]
832#[derive(
833	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
834)]
835#[declaration_metadata(
836    initial = "see individual properties",
837    inherits = Unknown,
838    applies_to = Unknown,
839    animation_type = Unknown,
840    percentages = Unknown,
841    property_group = Gaps,
842    computed_value_type = Unknown,
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.row-rule-inset-junction"))]
847#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
848#[derive(csskit_derives::NodeWithMetadata)]
849pub struct RowRuleInsetJunctionStyleValue;
850
851/// Represents the style value for `row-rule-inset-junction-end` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-junction-end).
852///
853/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
854///
855/// The grammar is defined as:
856///
857/// ```text,ignore
858/// <inset-value>
859/// ```
860///
861/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-junction-end
862#[syntax(" <inset-value> ")]
863#[derive(
864	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
865)]
866#[declaration_metadata(
867    initial = "0",
868    applies_to = Unknown,
869    animation_type = ByComputedValue,
870    percentages = Unknown,
871    property_group = Gaps,
872    computed_value_type = AsSpecified,
873    canonical_order = "per grammar",
874)]
875#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
876#[cfg_attr(
877	feature = "css_feature_data",
878	derive(ToCSSFeature),
879	css_feature("css.properties.row-rule-inset-junction-end")
880)]
881#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
882#[derive(csskit_derives::NodeWithMetadata)]
883pub struct RowRuleInsetJunctionEndStyleValue;
884
885/// Represents the style value for `row-rule-inset-junction-start` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-junction-start).
886///
887/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
888///
889/// The grammar is defined as:
890///
891/// ```text,ignore
892/// <inset-value>
893/// ```
894///
895/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-junction-start
896#[syntax(" <inset-value> ")]
897#[derive(
898	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
899)]
900#[declaration_metadata(
901    initial = "0",
902    applies_to = Unknown,
903    animation_type = ByComputedValue,
904    percentages = Unknown,
905    property_group = Gaps,
906    computed_value_type = AsSpecified,
907    canonical_order = "per grammar",
908)]
909#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
910#[cfg_attr(
911	feature = "css_feature_data",
912	derive(ToCSSFeature),
913	css_feature("css.properties.row-rule-inset-junction-start")
914)]
915#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
916#[derive(csskit_derives::NodeWithMetadata)]
917pub struct RowRuleInsetJunctionStartStyleValue;
918
919/// Represents the style value for `row-rule-inset-start` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-inset-start).
920///
921/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
922///
923/// The grammar is defined as:
924///
925/// ```text,ignore
926/// <inset-value>
927/// ```
928///
929/// https://drafts.csswg.org/css-gaps-1/#row-rule-inset-start
930#[syntax(" <inset-value> ")]
931#[derive(
932	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
933)]
934#[declaration_metadata(
935    initial = "see individual properties",
936    inherits = Unknown,
937    applies_to = Unknown,
938    animation_type = Unknown,
939    percentages = Unknown,
940    property_group = Gaps,
941    computed_value_type = Unknown,
942    canonical_order = "per grammar",
943)]
944#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
945#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-inset-start"))]
946#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
947#[derive(csskit_derives::NodeWithMetadata)]
948pub struct RowRuleInsetStartStyleValue;
949
950/// Represents the style value for `row-rule-style` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-style).
951///
952/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
953///
954/// The grammar is defined as:
955///
956/// ```text,ignore
957/// <line-style-list> | <auto-line-style-list>
958/// ```
959///
960/// https://drafts.csswg.org/css-gaps-1/#row-rule-style
961#[syntax(" <line-style-list> | <auto-line-style-list> ")]
962#[derive(
963	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
964)]
965#[declaration_metadata(
966    initial = "none",
967    applies_to = Unknown,
968    animation_type = Discrete,
969    property_group = Gaps,
970    computed_value_type = AsSpecified,
971    canonical_order = "per grammar",
972)]
973#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
974#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-style"))]
975#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
976#[derive(csskit_derives::NodeWithMetadata)]
977pub enum RowRuleStyleStyleValue {}
978
979/// Represents the style value for `row-rule-visibility-items` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-visibility-items).
980///
981/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
982///
983/// The grammar is defined as:
984///
985/// ```text,ignore
986/// all | around | between | normal
987/// ```
988///
989/// https://drafts.csswg.org/css-gaps-1/#row-rule-visibility-items
990#[syntax(" all | around | between | normal ")]
991#[derive(
992	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
993)]
994#[declaration_metadata(
995    initial = "normal",
996    applies_to = Unknown,
997    animation_type = Discrete,
998    property_group = Gaps,
999    computed_value_type = AsSpecified,
1000    canonical_order = "per grammar",
1001)]
1002#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1003#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-visibility-items"))]
1004#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1005#[derive(csskit_derives::NodeWithMetadata)]
1006pub enum RowRuleVisibilityItemsStyleValue {}
1007
1008/// Represents the style value for `row-rule-width` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#row-rule-width).
1009///
1010/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1011///
1012/// The grammar is defined as:
1013///
1014/// ```text,ignore
1015/// <line-width-list> | <auto-line-width-list>
1016/// ```
1017///
1018/// https://drafts.csswg.org/css-gaps-1/#row-rule-width
1019#[syntax(" <line-width-list> | <auto-line-width-list> ")]
1020#[derive(
1021	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1022)]
1023#[declaration_metadata(
1024    initial = "medium",
1025    applies_to = Unknown,
1026    animation_type = RepeatableList,
1027    property_group = Gaps,
1028    computed_value_type = ListOfAbsoluteLengths,
1029    canonical_order = "per grammar",
1030)]
1031#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1032#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.row-rule-width"))]
1033#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1034#[derive(csskit_derives::NodeWithMetadata)]
1035pub enum RowRuleWidthStyleValue<'a> {}
1036
1037/// Represents the style value for `rule` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule).
1038///
1039/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1040///
1041/// The grammar is defined as:
1042///
1043/// ```text,ignore
1044/// <'column-rule'>
1045/// ```
1046///
1047/// https://drafts.csswg.org/css-gaps-1/#rule
1048#[syntax(" <'column-rule'> ")]
1049#[derive(
1050	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1051)]
1052#[declaration_metadata(
1053    initial = "see individual properties",
1054    applies_to = Unknown,
1055    animation_type = Unknown,
1056    percentages = Unknown,
1057    property_group = Gaps,
1058    computed_value_type = Unknown,
1059    canonical_order = "per grammar",
1060)]
1061#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1062#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule"))]
1063#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1064#[derive(csskit_derives::NodeWithMetadata)]
1065pub struct RuleStyleValue<'a>;
1066
1067/// Represents the style value for `rule-break` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-break).
1068///
1069/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1070///
1071/// The grammar is defined as:
1072///
1073/// ```text,ignore
1074/// <'column-rule-break'>
1075/// ```
1076///
1077/// https://drafts.csswg.org/css-gaps-1/#rule-break
1078#[syntax(" <'column-rule-break'> ")]
1079#[derive(
1080	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1081)]
1082#[declaration_metadata(
1083    initial = "see individual properties",
1084    inherits = Unknown,
1085    applies_to = Unknown,
1086    animation_type = Unknown,
1087    percentages = Unknown,
1088    property_group = Gaps,
1089    computed_value_type = Unknown,
1090    canonical_order = "per grammar",
1091)]
1092#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1093#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-break"))]
1094#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1095#[derive(csskit_derives::NodeWithMetadata)]
1096pub struct RuleBreakStyleValue;
1097
1098/// Represents the style value for `rule-color` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-color).
1099///
1100/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1101///
1102/// The grammar is defined as:
1103///
1104/// ```text,ignore
1105/// <'column-rule-color'>
1106/// ```
1107///
1108/// https://drafts.csswg.org/css-gaps-1/#rule-color
1109#[syntax(" <'column-rule-color'> ")]
1110#[derive(
1111	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1112)]
1113#[declaration_metadata(
1114    initial = "see individual properties",
1115    applies_to = Unknown,
1116    animation_type = Unknown,
1117    percentages = Unknown,
1118    property_group = Gaps,
1119    computed_value_type = Unknown,
1120    canonical_order = "per grammar",
1121)]
1122#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1123#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-color"))]
1124#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1125#[derive(csskit_derives::NodeWithMetadata)]
1126pub struct RuleColorStyleValue;
1127
1128/// Represents the style value for `rule-inset` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-inset).
1129///
1130/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1131///
1132/// The grammar is defined as:
1133///
1134/// ```text,ignore
1135/// <'column-rule-inset'>
1136/// ```
1137///
1138/// https://drafts.csswg.org/css-gaps-1/#rule-inset
1139#[syntax(" <'column-rule-inset'> ")]
1140#[derive(
1141	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1142)]
1143#[declaration_metadata(
1144    initial = "see individual properties",
1145    inherits = Unknown,
1146    applies_to = Unknown,
1147    animation_type = Unknown,
1148    percentages = Unknown,
1149    property_group = Gaps,
1150    computed_value_type = Unknown,
1151    canonical_order = "per grammar",
1152)]
1153#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1154#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-inset"))]
1155#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1156#[derive(csskit_derives::NodeWithMetadata)]
1157pub struct RuleInsetStyleValue;
1158
1159/// Represents the style value for `rule-inset-cap` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-inset-cap).
1160///
1161/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1162///
1163/// The grammar is defined as:
1164///
1165/// ```text,ignore
1166/// <'column-rule-inset-cap'>
1167/// ```
1168///
1169/// https://drafts.csswg.org/css-gaps-1/#rule-inset-cap
1170#[syntax(" <'column-rule-inset-cap'> ")]
1171#[derive(
1172	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1173)]
1174#[declaration_metadata(
1175    initial = "see individual properties",
1176    inherits = Unknown,
1177    applies_to = Unknown,
1178    animation_type = Unknown,
1179    percentages = Unknown,
1180    property_group = Gaps,
1181    computed_value_type = Unknown,
1182    canonical_order = "per grammar",
1183)]
1184#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1185#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-inset-cap"))]
1186#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1187#[derive(csskit_derives::NodeWithMetadata)]
1188pub struct RuleInsetCapStyleValue;
1189
1190/// Represents the style value for `rule-inset-end` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-inset-end).
1191///
1192/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1193///
1194/// The grammar is defined as:
1195///
1196/// ```text,ignore
1197/// <'column-rule-inset-end'>
1198/// ```
1199///
1200/// https://drafts.csswg.org/css-gaps-1/#rule-inset-end
1201#[syntax(" <'column-rule-inset-end'> ")]
1202#[derive(
1203	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1204)]
1205#[declaration_metadata(
1206    initial = "see individual properties",
1207    inherits = Unknown,
1208    applies_to = Unknown,
1209    animation_type = Unknown,
1210    percentages = Unknown,
1211    property_group = Gaps,
1212    computed_value_type = Unknown,
1213    canonical_order = "per grammar",
1214)]
1215#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1216#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-inset-end"))]
1217#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1218#[derive(csskit_derives::NodeWithMetadata)]
1219pub struct RuleInsetEndStyleValue;
1220
1221/// Represents the style value for `rule-inset-junction` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-inset-junction).
1222///
1223/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1224///
1225/// The grammar is defined as:
1226///
1227/// ```text,ignore
1228/// <'column-rule-inset-junction'>
1229/// ```
1230///
1231/// https://drafts.csswg.org/css-gaps-1/#rule-inset-junction
1232#[syntax(" <'column-rule-inset-junction'> ")]
1233#[derive(
1234	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1235)]
1236#[declaration_metadata(
1237    initial = "see individual properties",
1238    inherits = Unknown,
1239    applies_to = Unknown,
1240    animation_type = Unknown,
1241    percentages = Unknown,
1242    property_group = Gaps,
1243    computed_value_type = Unknown,
1244    canonical_order = "per grammar",
1245)]
1246#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1247#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-inset-junction"))]
1248#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1249#[derive(csskit_derives::NodeWithMetadata)]
1250pub struct RuleInsetJunctionStyleValue;
1251
1252/// Represents the style value for `rule-inset-start` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-inset-start).
1253///
1254/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1255///
1256/// The grammar is defined as:
1257///
1258/// ```text,ignore
1259/// <'column-rule-inset-start'>
1260/// ```
1261///
1262/// https://drafts.csswg.org/css-gaps-1/#rule-inset-start
1263#[syntax(" <'column-rule-inset-start'> ")]
1264#[derive(
1265	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1266)]
1267#[declaration_metadata(
1268    initial = "see individual properties",
1269    inherits = Unknown,
1270    applies_to = Unknown,
1271    animation_type = Unknown,
1272    percentages = Unknown,
1273    property_group = Gaps,
1274    computed_value_type = Unknown,
1275    canonical_order = "per grammar",
1276)]
1277#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1278#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-inset-start"))]
1279#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1280#[derive(csskit_derives::NodeWithMetadata)]
1281pub struct RuleInsetStartStyleValue;
1282
1283/// Represents the style value for `rule-overlap` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-overlap).
1284///
1285/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1286///
1287/// The grammar is defined as:
1288///
1289/// ```text,ignore
1290/// row-over-column | column-over-row
1291/// ```
1292///
1293/// https://drafts.csswg.org/css-gaps-1/#rule-overlap
1294#[syntax(" row-over-column | column-over-row ")]
1295#[derive(
1296	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1297)]
1298#[declaration_metadata(
1299    initial = "row-over-column",
1300    applies_to = Unknown,
1301    animation_type = Discrete,
1302    property_group = Gaps,
1303    computed_value_type = AsSpecified,
1304    canonical_order = "per grammar",
1305)]
1306#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1307#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-overlap"))]
1308#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1309#[derive(csskit_derives::NodeWithMetadata)]
1310pub enum RuleOverlapStyleValue {}
1311
1312/// Represents the style value for `rule-style` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-style).
1313///
1314/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1315///
1316/// The grammar is defined as:
1317///
1318/// ```text,ignore
1319/// <'column-rule-style'>
1320/// ```
1321///
1322/// https://drafts.csswg.org/css-gaps-1/#rule-style
1323#[syntax(" <'column-rule-style'> ")]
1324#[derive(
1325	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1326)]
1327#[declaration_metadata(
1328    initial = "see individual properties",
1329    applies_to = Unknown,
1330    animation_type = Unknown,
1331    percentages = Unknown,
1332    property_group = Gaps,
1333    computed_value_type = Unknown,
1334    canonical_order = "per grammar",
1335)]
1336#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1337#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-style"))]
1338#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1339#[derive(csskit_derives::NodeWithMetadata)]
1340pub struct RuleStyleStyleValue;
1341
1342/// Represents the style value for `rule-visibility-items` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-visibility-items).
1343///
1344/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1345///
1346/// The grammar is defined as:
1347///
1348/// ```text,ignore
1349/// <'column-rule-visibility-items'>
1350/// ```
1351///
1352/// https://drafts.csswg.org/css-gaps-1/#rule-visibility-items
1353#[syntax(" <'column-rule-visibility-items'> ")]
1354#[derive(
1355	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1356)]
1357#[declaration_metadata(
1358    initial = "see individual properties",
1359    inherits = Unknown,
1360    applies_to = Unknown,
1361    animation_type = Unknown,
1362    percentages = Unknown,
1363    property_group = Gaps,
1364    computed_value_type = Unknown,
1365    canonical_order = "per grammar",
1366)]
1367#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1368#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-visibility-items"))]
1369#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1370#[derive(csskit_derives::NodeWithMetadata)]
1371pub struct RuleVisibilityItemsStyleValue;
1372
1373/// Represents the style value for `rule-width` as defined in [css-gaps-1](https://drafts.csswg.org/css-gaps-1/#rule-width).
1374///
1375/// The column-rule and row-rule CSS properties display decorative lines between columns and rows of a flex, grid, or multi-column layout. The rule-break, rule-outset, and rule-paint-order properties control the appearance of these lines.
1376///
1377/// The grammar is defined as:
1378///
1379/// ```text,ignore
1380/// <'column-rule-width'>
1381/// ```
1382///
1383/// https://drafts.csswg.org/css-gaps-1/#rule-width
1384#[syntax(" <'column-rule-width'> ")]
1385#[derive(
1386	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
1387)]
1388#[declaration_metadata(
1389    initial = "see individual properties",
1390    applies_to = Unknown,
1391    animation_type = Unknown,
1392    percentages = Unknown,
1393    property_group = Gaps,
1394    computed_value_type = Unknown,
1395    canonical_order = "per grammar",
1396)]
1397#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
1398#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rule-width"))]
1399#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
1400#[derive(csskit_derives::NodeWithMetadata)]
1401pub struct RuleWidthStyleValue<'a>;