css_ast/values/grid/
mod.rs

1#![allow(warnings)]
2//! https://drafts.csswg.org/css-grid-3/
3
4mod impls;
5use super::prelude::*;
6use impls::*;
7// /// Represents the style value for `grid` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid).
8// ///
9// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
10// ///
11// /// The grammar is defined as:
12// ///
13// /// ```text,ignore
14// /**<'grid-template'> |
15// <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? |
16// [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>*/
17// /// ```
18// ///
19// /// https://drafts.csswg.org/css-grid-3/#grid
20// #[syntax(
21//     " <'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'> "
22// )]
23// #[derive(
24//     Parse,
25//     Peek,
26//     ToSpan,
27//     ToCursors,
28//     DeclarationMetadata,
29//     SemanticEq,
30//     Debug,
31//     Clone,
32//     PartialEq,
33//     Eq,
34//     PartialOrd,
35//     Ord,
36//     Hash,
37// )]
38// #[declaration_metadata(
39//     initial = "none",
40//     inherits = Unknown,
41//     applies_to = Grid,
42//     percentages = Unknown,
43//     animation_type = Unknown,
44//     property_group = Grid,
45//     computed_value_type = Unknown,
46//     canonical_order = "per grammar",
47// )]
48// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
49// #[cfg_attr(
50//     feature = "css_feature_data",
51//     derive(ToCSSFeature),
52//     css_feature("css.properties.grid")
53// )]
54// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
55// pub enum GridStyleValue {}
56
57// /// Represents the style value for `grid-area` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-area).
58// ///
59// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
60// ///
61// /// The grammar is defined as:
62// ///
63// /// ```text,ignore
64// /// <grid-line> [ / <grid-line> ]{0,3}
65// /// ```
66// ///
67// /// https://drafts.csswg.org/css-grid-3/#grid-area
68// #[syntax(" <grid-line> [ / <grid-line> ]{0,3} ")]
69// #[derive(
70//     Parse,
71//     Peek,
72//     ToSpan,
73//     ToCursors,
74//     DeclarationMetadata,
75//     SemanticEq,
76//     Debug,
77//     Clone,
78//     PartialEq,
79//     Eq,
80//     PartialOrd,
81//     Ord,
82//     Hash,
83// )]
84// #[declaration_metadata(
85//     initial = "auto",
86//     applies_to = Unknown,
87//     animation_type = Discrete,
88//     property_group = Grid,
89//     computed_value_type = Unknown,
90//     canonical_order = "per grammar",
91// )]
92// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
93// #[cfg_attr(
94//     feature = "css_feature_data",
95//     derive(ToCSSFeature),
96//     css_feature("css.properties.grid-area")
97// )]
98// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
99// pub struct GridAreaStyleValue;
100
101/// Represents the style value for `grid-auto-columns` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-auto-columns).
102///
103/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
104///
105/// The grammar is defined as:
106///
107/// ```text,ignore
108/// <track-size>+
109/// ```
110///
111/// https://drafts.csswg.org/css-grid-3/#grid-auto-columns
112#[syntax(" <track-size>+ ")]
113#[derive(
114	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
115)]
116#[declaration_metadata(
117    initial = "auto",
118    applies_to = Grid,
119    percentages = Unknown,
120    animation_type = Discrete,
121    property_group = Grid,
122    computed_value_type = Unknown,
123    canonical_order = "per grammar",
124)]
125#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
126#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.grid-auto-columns"))]
127#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
128pub struct GridAutoColumnsStyleValue<'a>;
129
130// /// Represents the style value for `grid-auto-flow` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-auto-flow).
131// ///
132// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
133// ///
134// /// The grammar is defined as:
135// ///
136// /// ```text,ignore
137// /// [ row | column ] || dense
138// /// ```
139// ///
140// /// https://drafts.csswg.org/css-grid-3/#grid-auto-flow
141// #[syntax(" [ row | column ] || dense ")]
142// #[derive(
143//     Parse,
144//     Peek,
145//     ToSpan,
146//     ToCursors,
147//     DeclarationMetadata,
148//     SemanticEq,
149//     Debug,
150//     Clone,
151//     PartialEq,
152//     Eq,
153//     PartialOrd,
154//     Ord,
155//     Hash,
156// )]
157// #[declaration_metadata(
158//     initial = "row",
159//     applies_to = Grid,
160//     animation_type = Discrete,
161//     property_group = Grid,
162//     computed_value_type = Unknown,
163//     canonical_order = "per grammar",
164// )]
165// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
166// #[cfg_attr(
167//     feature = "css_feature_data",
168//     derive(ToCSSFeature),
169//     css_feature("css.properties.grid-auto-flow")
170// )]
171// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
172// pub struct GridAutoFlowStyleValue;
173
174/// Represents the style value for `grid-auto-rows` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-auto-rows).
175///
176/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
177///
178/// The grammar is defined as:
179///
180/// ```text,ignore
181/// <track-size>+
182/// ```
183///
184/// https://drafts.csswg.org/css-grid-3/#grid-auto-rows
185#[syntax(" <track-size>+ ")]
186#[derive(
187	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
188)]
189#[declaration_metadata(
190    initial = "auto",
191    applies_to = Grid,
192    percentages = Unknown,
193    animation_type = Discrete,
194    property_group = Grid,
195    computed_value_type = Unknown,
196    canonical_order = "per grammar",
197)]
198#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
199#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.grid-auto-rows"))]
200#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
201pub struct GridAutoRowsStyleValue<'a>;
202
203// /// Represents the style value for `grid-column` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-column).
204// ///
205// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
206// ///
207// /// The grammar is defined as:
208// ///
209// /// ```text,ignore
210// /// <grid-line> [ / <grid-line> ]?
211// /// ```
212// ///
213// /// https://drafts.csswg.org/css-grid-3/#grid-column
214// #[syntax(" <grid-line> [ / <grid-line> ]? ")]
215// #[derive(
216//     Parse,
217//     Peek,
218//     ToSpan,
219//     ToCursors,
220//     DeclarationMetadata,
221//     SemanticEq,
222//     Debug,
223//     Clone,
224//     PartialEq,
225//     Eq,
226//     PartialOrd,
227//     Ord,
228//     Hash,
229// )]
230// #[declaration_metadata(
231//     initial = "auto",
232//     applies_to = Unknown,
233//     animation_type = Discrete,
234//     property_group = Grid,
235//     computed_value_type = Unknown,
236//     canonical_order = "per grammar",
237// )]
238// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
239// #[cfg_attr(
240//     feature = "css_feature_data",
241//     derive(ToCSSFeature),
242//     css_feature("css.properties.grid-column")
243// )]
244// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
245// pub struct GridColumnStyleValue;
246
247/// Represents the style value for `grid-column-end` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-column-end).
248///
249/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
250///
251/// The grammar is defined as:
252///
253/// ```text,ignore
254/// <grid-line>
255/// ```
256///
257/// https://drafts.csswg.org/css-grid-3/#grid-column-end
258#[syntax(" <grid-line> ")]
259#[derive(
260	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
261)]
262#[declaration_metadata(
263    initial = "auto",
264    applies_to = Unknown,
265    animation_type = Discrete,
266    property_group = Grid,
267    computed_value_type = Unknown,
268    canonical_order = "per grammar",
269)]
270#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
271#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.grid-column-end"))]
272#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
273pub struct GridColumnEndStyleValue;
274
275/// Represents the style value for `grid-column-start` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-column-start).
276///
277/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
278///
279/// The grammar is defined as:
280///
281/// ```text,ignore
282/// <grid-line>
283/// ```
284///
285/// https://drafts.csswg.org/css-grid-3/#grid-column-start
286#[syntax(" <grid-line> ")]
287#[derive(
288	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
289)]
290#[declaration_metadata(
291    initial = "auto",
292    applies_to = Unknown,
293    animation_type = Discrete,
294    property_group = Grid,
295    computed_value_type = Unknown,
296    canonical_order = "per grammar",
297)]
298#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
299#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.grid-column-start"))]
300#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
301pub struct GridColumnStartStyleValue;
302
303// /// Represents the style value for `grid-row` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-row).
304// ///
305// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
306// ///
307// /// The grammar is defined as:
308// ///
309// /// ```text,ignore
310// /// <grid-line> [ / <grid-line> ]?
311// /// ```
312// ///
313// /// https://drafts.csswg.org/css-grid-3/#grid-row
314// #[syntax(" <grid-line> [ / <grid-line> ]? ")]
315// #[derive(
316//     Parse,
317//     Peek,
318//     ToSpan,
319//     ToCursors,
320//     DeclarationMetadata,
321//     SemanticEq,
322//     Debug,
323//     Clone,
324//     PartialEq,
325//     Eq,
326//     PartialOrd,
327//     Ord,
328//     Hash,
329// )]
330// #[declaration_metadata(
331//     initial = "auto",
332//     applies_to = Unknown,
333//     animation_type = Discrete,
334//     property_group = Grid,
335//     computed_value_type = Unknown,
336//     canonical_order = "per grammar",
337// )]
338// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
339// #[cfg_attr(
340//     feature = "css_feature_data",
341//     derive(ToCSSFeature),
342//     css_feature("css.properties.grid-row")
343// )]
344// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
345// pub struct GridRowStyleValue;
346
347/// Represents the style value for `grid-row-end` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-row-end).
348///
349/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
350///
351/// The grammar is defined as:
352///
353/// ```text,ignore
354/// <grid-line>
355/// ```
356///
357/// https://drafts.csswg.org/css-grid-3/#grid-row-end
358#[syntax(" <grid-line> ")]
359#[derive(
360	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
361)]
362#[declaration_metadata(
363    initial = "auto",
364    applies_to = Unknown,
365    animation_type = Discrete,
366    property_group = Grid,
367    computed_value_type = Unknown,
368    canonical_order = "per grammar",
369)]
370#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
371#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.grid-row-end"))]
372#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
373pub struct GridRowEndStyleValue;
374
375/// Represents the style value for `grid-row-start` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-row-start).
376///
377/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
378///
379/// The grammar is defined as:
380///
381/// ```text,ignore
382/// <grid-line>
383/// ```
384///
385/// https://drafts.csswg.org/css-grid-3/#grid-row-start
386#[syntax(" <grid-line> ")]
387#[derive(
388	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
389)]
390#[declaration_metadata(
391    initial = "auto",
392    applies_to = Unknown,
393    animation_type = Discrete,
394    property_group = Grid,
395    computed_value_type = Unknown,
396    canonical_order = "per grammar",
397)]
398#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
399#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.grid-row-start"))]
400#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
401pub struct GridRowStartStyleValue;
402
403// /// Represents the style value for `grid-template` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-template).
404// ///
405// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
406// ///
407// /// The grammar is defined as:
408// ///
409// /// ```text,ignore
410// /**none |
411// [ <'grid-template-rows'> / <'grid-template-columns'> ] |
412// [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?*/
413// /// ```
414// ///
415// /// https://drafts.csswg.org/css-grid-3/#grid-template
416// #[syntax(
417//     " none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]? "
418// )]
419// #[derive(
420//     Parse,
421//     Peek,
422//     ToSpan,
423//     ToCursors,
424//     DeclarationMetadata,
425//     SemanticEq,
426//     Debug,
427//     Clone,
428//     PartialEq,
429//     Eq,
430//     PartialOrd,
431//     Ord,
432//     Hash,
433// )]
434// #[declaration_metadata(
435//     initial = "none",
436//     inherits = Unknown,
437//     applies_to = Grid,
438//     percentages = Unknown,
439//     animation_type = Unknown,
440//     property_group = Grid,
441//     computed_value_type = Unknown,
442//     canonical_order = "per grammar",
443// )]
444// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
445// #[cfg_attr(
446//     feature = "css_feature_data",
447//     derive(ToCSSFeature),
448//     css_feature("css.properties.grid-template")
449// )]
450// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
451// pub enum GridTemplateStyleValue<'a> {}
452
453/// Represents the style value for `grid-template-areas` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-template-areas).
454///
455/// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
456///
457/// The grammar is defined as:
458///
459/// ```text,ignore
460/// none | <string>+
461/// ```
462///
463/// https://drafts.csswg.org/css-grid-3/#grid-template-areas
464#[syntax(" none | <string>+ ")]
465#[derive(
466	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
467)]
468#[declaration_metadata(
469    initial = "none",
470    applies_to = Grid,
471    animation_type = Discrete,
472    property_group = Grid,
473    computed_value_type = Unknown,
474    canonical_order = "per grammar",
475)]
476#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
477#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.grid-template-areas"))]
478#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
479pub struct GridTemplateAreasStyleValue<'a>;
480
481// /// Represents the style value for `grid-template-columns` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-template-columns).
482// ///
483// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
484// ///
485// /// The grammar is defined as:
486// ///
487// /// ```text,ignore
488// /// none | <track-list> | <auto-track-list> | subgrid <line-name-list>?
489// /// ```
490// ///
491// /// https://drafts.csswg.org/css-grid-3/#grid-template-columns
492// #[syntax(" none | <track-list> | <auto-track-list> | subgrid <line-name-list>? ")]
493// #[derive(
494//     Parse,
495//     Peek,
496//     ToSpan,
497//     ToCursors,
498//     DeclarationMetadata,
499//     SemanticEq,
500//     Debug,
501//     Clone,
502//     PartialEq,
503//     Eq,
504//     PartialOrd,
505//     Ord,
506//     Hash,
507// )]
508// #[declaration_metadata(
509//     initial = "none",
510//     applies_to = Grid,
511//     percentages = ContentArea,
512//     animation_type = Discrete,
513//     property_group = Grid,
514//     computed_value_type = Unknown,
515//     canonical_order = "per grammar",
516// )]
517// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
518// #[cfg_attr(
519//     feature = "css_feature_data",
520//     derive(ToCSSFeature),
521//     css_feature("css.properties.grid-template-columns")
522// )]
523// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
524// pub enum GridTemplateColumnsStyleValue {}
525
526// /// Represents the style value for `grid-template-rows` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#grid-template-rows).
527// ///
528// /// CSS grid is a two-dimensional layout system, which lays content out in rows and columns.
529// ///
530// /// The grammar is defined as:
531// ///
532// /// ```text,ignore
533// /// none | <track-list> | <auto-track-list> | subgrid <line-name-list>?
534// /// ```
535// ///
536// /// https://drafts.csswg.org/css-grid-3/#grid-template-rows
537// #[syntax(" none | <track-list> | <auto-track-list> | subgrid <line-name-list>? ")]
538// #[derive(
539//     Parse,
540//     Peek,
541//     ToSpan,
542//     ToCursors,
543//     DeclarationMetadata,
544//     SemanticEq,
545//     Debug,
546//     Clone,
547//     PartialEq,
548//     Eq,
549//     PartialOrd,
550//     Ord,
551//     Hash,
552// )]
553// #[declaration_metadata(
554//     initial = "none",
555//     applies_to = Grid,
556//     percentages = ContentArea,
557//     animation_type = Discrete,
558//     property_group = Grid,
559//     computed_value_type = Unknown,
560//     canonical_order = "per grammar",
561// )]
562// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
563// #[cfg_attr(
564//     feature = "css_feature_data",
565//     derive(ToCSSFeature),
566//     css_feature("css.properties.grid-template-rows")
567// )]
568// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
569// pub enum GridTemplateRowsStyleValue {}
570
571// /// Represents the style value for `item-cross` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#item-cross).
572// ///
573// /// The grammar is defined as:
574// ///
575// /// ```text,ignore
576// /// [ auto | nowrap | wrap ] || [ normal | reverse ] | wrap-reverse
577// /// ```
578// ///
579// /// https://drafts.csswg.org/css-grid-3/#item-cross
580// #[syntax(" [ auto | nowrap | wrap ] || [ normal | reverse ] | wrap-reverse ")]
581// #[derive(
582//     Parse,
583//     Peek,
584//     ToSpan,
585//     ToCursors,
586//     DeclarationMetadata,
587//     SemanticEq,
588//     Debug,
589//     Clone,
590//     PartialEq,
591//     Eq,
592//     PartialOrd,
593//     Ord,
594//     Hash,
595// )]
596// #[declaration_metadata(
597//     initial = "auto",
598//     applies_to = Unknown,
599//     animation_type = Discrete,
600//     property_group = Grid,
601//     computed_value_type = AsSpecified,
602//     canonical_order = "per grammar",
603// )]
604// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
605// #[cfg_attr(
606//     feature = "css_feature_data",
607//     derive(ToCSSFeature),
608//     css_feature("css.properties.item-cross")
609// )]
610// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
611// pub enum ItemCrossStyleValue {}
612
613/// Represents the style value for `item-direction` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#item-direction).
614///
615/// The grammar is defined as:
616///
617/// ```text,ignore
618/// auto | row | column | row-reverse | column-reverse
619/// ```
620///
621/// https://drafts.csswg.org/css-grid-3/#item-direction
622#[syntax(" auto | row | column | row-reverse | column-reverse ")]
623#[derive(
624	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
625)]
626#[declaration_metadata(
627    initial = "auto",
628    applies_to = Unknown,
629    animation_type = Discrete,
630    property_group = Grid,
631    computed_value_type = AsSpecified,
632    canonical_order = "per grammar",
633)]
634#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
635#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.item-direction"))]
636#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
637pub enum ItemDirectionStyleValue {}
638
639// /// Represents the style value for `item-flow` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#item-flow).
640// ///
641// /// The grammar is defined as:
642// ///
643// /// ```text,ignore
644// /// <'item-direction'> || <'item-wrap'> || <'item-pack'> || <'item-tolerance'>
645// /// ```
646// ///
647// /// https://drafts.csswg.org/css-grid-3/#item-flow
648// #[syntax(" <'item-direction'> || <'item-wrap'> || <'item-pack'> || <'item-tolerance'> ")]
649// #[derive(
650//     Parse,
651//     Peek,
652//     ToSpan,
653//     ToCursors,
654//     DeclarationMetadata,
655//     SemanticEq,
656//     Debug,
657//     Clone,
658//     PartialEq,
659//     Eq,
660//     PartialOrd,
661//     Ord,
662//     Hash,
663// )]
664// #[declaration_metadata(
665//     initial = "see individual properties",
666//     inherits = Unknown,
667//     applies_to = Unknown,
668//     percentages = Unknown,
669//     animation_type = Unknown,
670//     property_group = Grid,
671//     computed_value_type = Unknown,
672//     canonical_order = "per grammar",
673// )]
674// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
675// #[cfg_attr(
676//     feature = "css_feature_data",
677//     derive(ToCSSFeature),
678//     css_feature("css.properties.item-flow")
679// )]
680// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
681// pub struct ItemFlowStyleValue;
682
683// /// Represents the style value for `item-pack` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#item-pack).
684// ///
685// /// The grammar is defined as:
686// ///
687// /// ```text,ignore
688// /// normal | dense || balance
689// /// ```
690// ///
691// /// https://drafts.csswg.org/css-grid-3/#item-pack
692// #[syntax(" normal | dense || balance ")]
693// #[derive(
694//     Parse,
695//     Peek,
696//     ToSpan,
697//     ToCursors,
698//     DeclarationMetadata,
699//     SemanticEq,
700//     Debug,
701//     Clone,
702//     PartialEq,
703//     Eq,
704//     PartialOrd,
705//     Ord,
706//     Hash,
707// )]
708// #[declaration_metadata(
709//     initial = "normal",
710//     applies_to = Unknown,
711//     animation_type = Discrete,
712//     property_group = Grid,
713//     computed_value_type = AsSpecified,
714//     canonical_order = "per grammar",
715// )]
716// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
717// #[cfg_attr(
718//     feature = "css_feature_data",
719//     derive(ToCSSFeature),
720//     css_feature("css.properties.item-pack")
721// )]
722// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
723// pub enum ItemPackStyleValue {}
724
725/// Represents the style value for `item-tolerance` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#item-tolerance).
726///
727/// The grammar is defined as:
728///
729/// ```text,ignore
730/// normal | <length-percentage> | infinite
731/// ```
732///
733/// https://drafts.csswg.org/css-grid-3/#item-tolerance
734#[syntax(" normal | <length-percentage> | infinite ")]
735#[derive(
736	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
737)]
738#[declaration_metadata(
739    initial = "normal",
740    applies_to = Unknown,
741    percentages = Unknown,
742    animation_type = Length,
743    property_group = Grid,
744    computed_value_type = Unknown,
745    canonical_order = "per grammar",
746)]
747#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
748#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.item-tolerance"))]
749#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
750pub enum ItemToleranceStyleValue {}
751
752/// Represents the style value for `item-track` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#item-track).
753///
754/// The grammar is defined as:
755///
756/// ```text,ignore
757/// auto | row | column | row-reverse | column-reverse
758/// ```
759///
760/// https://drafts.csswg.org/css-grid-3/#item-track
761#[syntax(" auto | row | column | row-reverse | column-reverse ")]
762#[derive(
763	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
764)]
765#[declaration_metadata(
766    initial = "auto",
767    applies_to = Unknown,
768    animation_type = Discrete,
769    property_group = Grid,
770    computed_value_type = AsSpecified,
771    canonical_order = "per grammar",
772)]
773#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
774#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.item-track"))]
775#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
776pub enum ItemTrackStyleValue {}
777
778// /// Represents the style value for `item-wrap` as defined in [css-grid-3](https://drafts.csswg.org/css-grid-3/#item-wrap).
779// ///
780// /// The grammar is defined as:
781// ///
782// /// ```text,ignore
783// /// [ auto | nowrap | wrap ] || [ normal | reverse ] | wrap-reverse
784// /// ```
785// ///
786// /// https://drafts.csswg.org/css-grid-3/#item-wrap
787// #[syntax(" [ auto | nowrap | wrap ] || [ normal | reverse ] | wrap-reverse ")]
788// #[derive(
789//     Parse,
790//     Peek,
791//     ToSpan,
792//     ToCursors,
793//     DeclarationMetadata,
794//     SemanticEq,
795//     Debug,
796//     Clone,
797//     PartialEq,
798//     Eq,
799//     PartialOrd,
800//     Ord,
801//     Hash,
802// )]
803// #[declaration_metadata(
804//     initial = "auto",
805//     applies_to = Unknown,
806//     animation_type = Discrete,
807//     property_group = Grid,
808//     computed_value_type = AsSpecified,
809//     canonical_order = "per grammar",
810// )]
811// #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
812// #[cfg_attr(
813//     feature = "css_feature_data",
814//     derive(ToCSSFeature),
815//     css_feature("css.properties.item-wrap")
816// )]
817// #[cfg_attr(feature = "visitable", derive(Visitable), visit)]
818// pub enum ItemWrapStyleValue {}