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

source ·
pub(crate) type InsetVal = Inset<Percentage, LengthPercentage>;

Aliased Type§

enum InsetVal {
    LengthPercentage(LengthPercentage),
    Auto,
    AnchorFunction(Box<GenericAnchorFunction<Percentage, LengthPercentage>>),
    AnchorSizeFunction(Box<GenericAnchorSizeFunction<LengthPercentage>>),
}

Variants§

§

LengthPercentage(LengthPercentage)

A <length-percentage> value.

§

Auto

An auto value.

§

AnchorFunction(Box<GenericAnchorFunction<Percentage, LengthPercentage>>)

§

AnchorSizeFunction(Box<GenericAnchorSizeFunction<LengthPercentage>>)

Inset defined by the size of the anchor element.

https://drafts.csswg.org/css-anchor-position-1/#anchor-pos