Testing Statement #2 Below of Section 5.4.8 of CSS1 Spec
-
2. For "line-height", initial is "normal", it applies to all elements, it is
inherited, and percentage values are relative to the font size of the element
itself.
PASS CRITERIA:
If statement #2 above is passed, this paragraph should have a line height
of normal.
The rule applied is "p {line-height: }".
So the line-height property applies to the "p" element.
This h3 element should have a line height of 1.2;
This emphasized text should have a line height of 1.2, since the
line height property is inherited, and "em" is a child of 'h3".
No explicit rule is applied for "em".
THe rule applied is 'h3 {line-height: 1.2}".
So the line height property applies to em and h3.
THis h4 element should have a line height which is 2.4.
The rule applied is "line-height: 2.4".
So the line height property applies to h4.
This strong text should have a line height of 1.2em
; so the line height property applies
to the strong element.
The rule applied is "strong {line height: 1.2em}".
This blockquote element should have a line height 120% of the
element font size.
The rule applied is "blockquote {line-height: 200%}", which should be
applied to the 10pt body element font size.
THe other rule applied above is "body {font-size: 10pt}".
All other properties of this page should be UA-default.
All other properties of this page should be UA-default.
To move directly to the next test, click here