Represents an absolute length with its unit
A container query length.
A source to resolve font-relative units against
A font relative length. Note that if any new value is
added here, custom_properties::NonCustomReferences::from_unit
must also be updated. Consult the comment in that function as to why.
An extension to NoCalcLength
to parse calc
expressions.
This is commonly used for the <length>
values.
A <length-percentage>
value. This can be either a <length>
, a
<percentage>
, or a combination of both via calc()
.
A source to resolve font-relative line-height units against.
A <length>
without taking calc
expressions into account
A viewport-relative length.
https://drafts.csswg.org/css-values/#viewport-relative-units
https://drafts.csswg.org/css-values/#viewport-variants
A specified value for anchor-size
function.
Either a <length>
or the auto
keyword.
Either a <length>
or a <number>
.
A specified type for <length-percentage> | auto
.
A specified value for margin
properties.
A specified value for max-width
or max-height
property.
A wrapper of Length, whose value must be >= 0.
Either a non-negative <length>
or the auto
keyword.
A specified non-negative <length>
| <number>
.
A wrapper of LengthPercentage, whose value must be >= 0.
A wrapper of LengthPercentageOrAuto, whose value must be >= 0.
Either a NonNegativeLengthPercentage or the normal
keyword.
A specified value for min-width
, min-height
, width
or height
property.