Module style::values::specified::length

source ·
Expand description

Re-exports§

Macros§

Structs§

  • HTML5 “character width”, as defined in HTML5 § 14.5.4.

Enums§

  • 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

Constants§

Functions§

Type Aliases§