pub type BorderImageSideWidth = GenericBorderImageSideWidth<NonNegativeLengthPercentage, NonNegativeNumber>;
Expand description
A specified value for a single side of a border-image-width
property.
Aliased Type§
enum BorderImageSideWidth {
Number(NonNegative<Number>),
LengthPercentage(NonNegative<LengthPercentage>),
Auto,
}
Variants§
Number(NonNegative<Number>)
<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