CSS Error Handling

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 CSS1.

1. Semicolon

The semicolon (';') is only valid once after an @-rule with no block and actually inside blocks.

This document contains the following stylesheet:

     .demo1 { color: green; };
     .demo1 { color: red; }

Per the CSS grammar, the stray semicolon should be treated as part of the second selector.

I should be GREEN!

Submit Results

How does your browser fare on this test?


Up to the Evil Tests Page.

Bugzilla: Bug 3102 (fixed)

Last updated in March 1999.