CSS3: Attribute Selectors

This is a test of the Cascading Style Sheets Level 3 (CSS3) attribute selectors. If the test succeeds, seven lines of text will appear in green; otherwise, one line of text will appear in red.

Attribute Selector Tests

1. Test for [] (Existence) succeeded.
2. Test for [=] (Equality) succeeded.
3. Test for [^=] (Prefix) succeeded.
4. Test for [$=] (Suffix) succeeded.
5. Test for [*=] (Substring) succeeded.
6. Test for [|=] (Hyphen) succeeded.
7. Test for [~=] (Whitespace) succeeded.
Attribute selector tests failed.

To view the source code, right-click this page and choose View Source from the shortcut menu that appears.

© 2012 Microsoft Corporation. All rights reserved. Terms of use.