Type Alias layout_2020::taffy::stylo_taffy::convert::stylo::GridTemplateComponent

source ·
pub(crate) type GridTemplateComponent = GenericGridTemplateComponent<LengthPercentage, i32>;
Expand description

<grid-template-rows> | <grid-template-columns>

Aliased Type§

enum GridTemplateComponent {
    None,
    TrackList(Box<GenericTrackList<LengthPercentage, i32>>),
    Subgrid(Box<GenericLineNameList<i32>>),
    Masonry,
}

Variants§

§

None

none value.

§

TrackList(Box<GenericTrackList<LengthPercentage, i32>>)

The grid <track-list>

§

Subgrid(Box<GenericLineNameList<i32>>)

A subgrid <line-name-list>? TODO: Support animations for this after subgrid is addressed in [grid-2] spec.

§

Masonry

masonry value. https://github.com/w3c/csswg-drafts/issues/4650