Skip to main content

Module specified

Module specified 

Source
Expand description

Values as written in a stylesheet, before the cascade resolves them.

These are what PropertyDeclaration carries. Relative units (em, rem, percentages of the parent’s font size) and keywords such as currentcolor or bolder survive here and are only resolved when a ComputedStyle is built.

Enums§

BorderWidth
A border width: a keyword or a length.
ColorValue
A colour, or currentcolor.
FontSize
FontSizeKeyword
The absolute font-size keywords, on the usual scale where medium is 16px.
FontWeight
Length
A length with its unit still attached, so that em and rem can be resolved against the right font size later. Absolute units other than px are converted to pixels when parsed.
LengthPercentage
A length or a percentage.
LetterSpacing
LineHeight
MaxSize
none or a length or percentage: max-width and max-height.
Size
auto or a length or percentage: width, height, min-* and the margins.