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