Testing Statement #1 Below of Section 2.5 of CSS1 Spec
-
1. In a contextual seletor, pseudo-elements are allowed only at the end of the
selector.
PASS CRITERIA:
If statement #1 above is passed, then:
T
he
first letter of this paragraph should be red. The remaining letters of this
paragraph should be UA-default. All other properties should be UA-default.
The contextual selector applied is "BODY P:first-letter {color: red}", where
the pseudo-element is at the end of the selector.
The first letter of this h3 heading (and all other letters) should be UA-default, since the pseudo-element is at the beginning of the contextual(em)
selector, as in "H3:first-letter EM {color: red}"
NOTE: THIS IS NOT ALLOWED
Your browser should render this page similarly to this
reference image or to thisreference image.
To move directly to the next test, click here.