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§
- Border
Width - A border width: a keyword or a length.
- Color
Value - A colour, or
currentcolor. - Font
Size - Font
Size Keyword - The absolute
font-sizekeywords, on the usual scale wheremediumis 16px. - Font
Weight - Length
- A length with its unit still attached, so that
emandremcan be resolved against the right font size later. Absolute units other thanpxare converted to pixels when parsed. - Length
Percentage - A length or a percentage.
- Letter
Spacing - Line
Height - MaxSize
noneor a length or percentage:max-widthandmax-height.- Size
autoor a length or percentage:width,height,min-*and the margins.