Testing Fourth Testable Statement of Section 2.5 of CSS1 Spec
-
4. Only one pseudo-element can be specified per selector.
PASS CRITERIA:
If statement #4 above is passed, then:
The first line and first letter of this paragraph should be UA-default. This is
because the application of "P:first-line:first-letter {color:blue}" involves
two pseudo-elements per selector, which is not allowed. All other properties
of this paragraph should also be UA-default.
The first line of this h2 heading should be red;
the remaining lines should be UA-default (the rule applied is
"h2:first-line {color: red}", which has one pseudo-element per selector)
T
he first letter of this h3 heading should be green; the remaining letters
should be UA-default (the rule applied is "h3:first-letter {color: green}"
which has one pseudo-element per selector)
Your browser should render this page similarly to this
reference image or to thisreference image.