Testing Statement #2 Below of Section 5.5.1 of CSS1 Spec
-
2. "margin-top" has initial 0, it applies to all elements, it is not inherited,
and percentage values refer to parent element's width.
PASS CRITERIA:
If statement #2 above is passed, this paragraph should have a margin top
of 0.
The rule applied is "p {margin-top: }".
So the margin-top property applies to the "p" element.
This h3 element should have a margin top of 2em
This emphasized text should have a margin top of UA-default, since the
margin top property is not inherited, and "em" is a child of 'h3".
No explicit rule is applied for "em".
THe rule applied is 'h3 {margin-top: 2em}".
So the margin top property applies to em and h3.
THis h4 element should have a margin top which is 4em.
The rule applied is "margin-top: 4em".
So the margin top property applies to h4.
This strong text should have a margin top of 6em
; so the margin top property applies
to the strong element.
The rule applied is "strong {margin-top: 6em}".
This blockquote element should have a margin top of 50% of that
of its parent (body element).
The rule applied is "blockquote {margin-top: 50%}", which should be
UA-default.
All other properties of this page should be UA-default.
All other properties of this page should be UA-default.