pub type ContainIntrinsicSize = GenericContainIntrinsicSize<NonNegativeLength>;
Expand description
A computed value for the contain-intrinsic-size
property.
Aliased Type§
enum ContainIntrinsicSize {
None,
AutoNone,
Length(NonNegative<CSSPixelLength>),
AutoLength(NonNegative<CSSPixelLength>),
}
Variants§
None
The keyword none
.
AutoNone
The keywords ‘auto none’,
Length(NonNegative<CSSPixelLength>)
A non-negative length.
AutoLength(NonNegative<CSSPixelLength>)
“auto
Implementations§
source§impl ContainIntrinsicSize
impl ContainIntrinsicSize
sourcepub fn add_auto_if_needed(&self) -> Option<Self>
pub fn add_auto_if_needed(&self) -> Option<Self>
Converts contain-intrinsic-size to auto style.