pub type BorderImageSideWidth = GenericBorderImageSideWidth<NonNegativeLengthPercentage, NonNegativeNumber>;
Expand description
A computed value for a single side of a border-image-width
property.
Aliased Type§
enum BorderImageSideWidth {
Number(NonNegative<f32>),
LengthPercentage(NonNegative<LengthPercentage>),
Auto,
}
Variants§
Number(NonNegative<f32>)
<number>
NOTE: Numbers need to be before length-percentagess, in order to parse
them first, since 0
should be a number, not the 0px
length.
LengthPercentage(NonNegative<LengthPercentage>)
<length-or-percentage>
Auto
auto