Expand description
<length>
computed values, and related ones.
Re-exports§
pub use super::image::Image;
pub use super::length_percentage::LengthPercentage;
pub use super::length_percentage::NonNegativeLengthPercentage;
pub use crate::values::specified::url::UrlOrNone;
pub use crate::values::specified::Angle;
pub use crate::values::specified::BorderStyle;
pub use crate::values::specified::Time;
Macros§
- computed_
length_ 🔒percentage_ or_ auto - Some boilerplate to share between negative and non-negative length-percentage or auto.
Structs§
- CSSPixel
Length - The computed
<length>
value.
Type Aliases§
- Length
- An alias of computed
<length>
value. - Length
OrAuto - Either a computed
<length>
or theauto
keyword. - Length
OrNumber - Either a computed
<length>
or a<number>
value. - Length
Percentage OrAuto - A computed type for
<length-percentage> | auto
. - Margin
- A computed type for
margin
properties. - MaxSize
- A computed value for
max-width
ormax-height
property. - NonNegative
Length - A wrapper of Length, whose value must be >= 0.
- NonNegative
Length OrAuto - Either a non-negative
<length>
or theauto
keyword. - NonNegative
Length OrNumber - Either a non-negative
<length>
or a<number>
. - NonNegative
Length Percentage OrAuto - A wrapper of LengthPercentageOrAuto, whose value must be >= 0.
- NonNegative
Length Percentage OrNormal - Either a computed NonNegativeLengthPercentage or the
normal
keyword. - Size
- A computed value for
min-width
,min-height
,width
orheight
property.