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