Testing Statement #2 Below of Section 5.5.5 of CSS1 Spec
-
2. For "margin", initial is not defined for shorthand properties, 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
of UA-default.
The rule applied is "p {margin: }".
So the margin property applies to the "p" element.
This h3 element should have a margin of 2em
This emphasized text should have a margin 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: 2em}".
So the margin property applies to em and h3.
THis h4 element should have a margin which is 4em.
The rule applied is "margin: 4em".
So the margin property applies to h4.
This strong text should have a margin of 6em
; so the margin property applies
to the strong element.
The rule applied is "strong {margin: 6em}".
This blockquote element should have a margin of 50% of that
of its parent (body element).
The rule applied is "blockquote {margin: 50%}", which should be
UA-default.
All other properties of this page should be UA-default.