Chapter 3 - Textual Data Types - 3.1.1 CSS-wide keywords: initial, inherit and unset
Go to the relevant page of the specification.
- multicol-inherit-002 (ahem)
'column-count' and inherit
This test checks that 'column-count' can be inherited by setting it with the CSS-wide keyword 'inherit'.
- multicol-rule-color-inherit-001 (ahem)
This test checks that, by default, column-rule-color is the current color applying to the element unless reserved keyword 'inherit' is used in which case column-rule-color will be inherited from the parent's column-rule-color value.
- multicol-rule-color-inherit-002 (ahem)
column-rule-color: inherit (complex)
In this test, div#parent's computed 'column-rule-color' is given by div#parent's 'currentcolor' (a reserved keyword) and not 'red'. Then div.child's 'column-rule-color' take such specified value ('currentcolor') from its parent (due to 'inherit' keyword) and not 'red'. And then, it is applied to div.child's 'column-rule-color'.