Multiple Keywords in the class Attribute

If you have any comments to make regarding this test, e-mail ian@hixie.ch.

Prerequisites
Browsers that are subjected to this test should support HTML's class attribute, CSS1's class selector (".xxx") and CSS1's color, font-weight and text-decoration properties.

1. These guys have class.

This page's stylesheet:

   .green     { background: white; color: green; }
   .bold      { font-weight: bold; }
   .underline { text-decoration: underline; }

The following paragraphs have the same value for the class attribute as the content of the paragraph, and should have the style that they describe.

Green

Bold

Underline

Green Bold

Green Underline

Bold Underline

Green Bold Underline

Submit Results

How does your browser fare on this test?


Up to the Evil Tests Page.

Bugzilla: Bug 701 (Fixed); Bug 1993 (Duplicate)

Last updated in January 1999.