Chapter 6 - Assigning property values, Cascading, and Inheritance - 6.2 Inheritance
Go to the relevant page of the specification.
- c13-inh-underlin-000
-
Inheritance
- c13-inheritance-000
-
Inheritance
- c548-ln-ht-003 (ahem, image)
-
line-height
- c548-ln-ht-004 (ahem, image)
-
line-height
- cascade-precedence-001
-
cascade mechanism has precedence over inheritance - font boldness
When determining the specified value of a property, the cascade mechanism of (user agent, author, user) style sheets has precedence. If no value results from such mechanism, then the property may inherit from its parent. In this testcase, it is presumed that b elements are specified in the user agents style sheets to embold their text content. - cascade-precedence-002
-
cascade mechanism has precedence over inheritance - font styling
When determining the specified value of a property, the cascade mechanism of (user agent, author, user) style sheets has precedence. If no value results from such mechanism, then the property may inherit from its parent. In this testcase, it is presumed that i elements are specified in the user agents style sheets to italicize their text content. - inherit-border-padding-000
-
Explicit Inheritance
- inherited-value-001
-
Inheritance
Children elements can inherit properties from parents.