Testing Fifth Testable Statement of Section 2.3 of CSS1 Spec
-
5. The "first-line" pseudo-element can be attached only to a block-level element.
PASS CRITERIA:
If statement #5 above is passed, then:
All of this text is emphasized with the "em" element, which is not block
level, up to this point. The pseudo-element applied is "em:first-line
{font-style: small-caps}", which is ignored, since "em" is not block-level.
All properties of this paragraph are UA-default.
The first line of this h2 element should be in small caps font style, since
the pseudo-element applied is "h2:first-line {font-style: small-caps}", and
"h2" is block-level; remaining properties are UA-default
Your browser should render this page similarly to this
reference image or to thisreference image.