W3C CSS logo Cascading Style Sheets FAQ

home CSS FAQ parent questions from implementers

7.1. Should a CSS parser report errors?

It depends on the application. In a browser, errors in the style sheet should normally be silently ignored. In many cases, it won't even be possible to determine if something is an error or a feature from a later version of CSS than the one the program knows about.

On the other hand, in an authoring program errors in the style sheet should normally be presented to the author for correction.


W3C Bert Bos
Webmaster
Last updated 10 Jan 1997