Testing Statement #2 Below of Section 5.4.6
-
2. For "text-align", initial is UA-specific, it applies to block-level elements,
it is inherited, and percentage values are N/A.
PASS CRITERIA:
If statement #2 above is passed, the body of this page should
be UA-specific. The rule applied is "body {text-align:}".
So the text-align property applies to the body element.
This paragraph should have a right text align.
The rule appleid is "p {text-align: right}".
So the text-align property applies to the p element.
This h3 heading should have a left text align.
The rule applied is "h3 {text-align: left}".
So the text-align property applies to the h3 element.
This h4 element should have a UA-specific text-align, since h4 is a child
of body element, and this property is inherited.
THis blockquote element should have a UA-default text align.
The rule stated is "blockquote {text-align: 200%}", which should be ignored
since percentages do not apply.
All other properties of this page should be UA-default.
To move to the next test, click here