Testing FIrst Testable Statement of Sec 2.3 of CSS2 Specification
-
1. An attribute selector can select on the simple presence or absence of an
attribute, or on the attribute and its value.
PASS CRITERIA:
If statement #1 above is passed, then
this paragraph should have a color of red.
The rule specified is "p[class=example] {color: red}", where this paragrah
has class example.
This paragraph should have color of UA-default, unlike above, because it
doesn't have class example.
This h3 heading should be blue, because it has an
href attribute to a link
The rule applied is 'h3[href] {color: blue}".
This h3 heading should have a color of UA-default, unlike above, because
there is no href attribute included
All other properties of this page should be UA-default.
Your browser rendering of this page should look similar to this
reference image or to this reference image.
To move to next test, click here