Type Alias layout_2020::taffy::stylo_taffy::convert::stylo::GridLine
source · pub(crate) type GridLine = GenericGridLine<i32>;
Expand description
The computed value of a <grid-line>
.
Aliased Type§
struct GridLine {
pub ident: CustomIdent,
pub line_num: i32,
pub is_span: bool,
}
Fields§
§ident: CustomIdent
A custom identifier for named lines, or the empty atom otherwise.
line_num: i32
Denotes the nth grid line from grid item’s placement.
This is clamped by MIN_GRID_LINE and MAX_GRID_LINE.
NOTE(emilio): If we ever allow animating these we need to either do something more complicated for the clamping, or do this clamping at used-value time.
is_span: bool
Flag to check whether it’s a span
keyword.