One of the most frustrating parts of web development is debugging CSS files. When a browser encounters an error in a CSS file, it doesn’t say anything; it just ignores the erroneous code and proceeds without giving any indication that something is wrong.
Some development tools include editors that encourage correct CSS coding with code completion dialogs, and/or mark apparent errors. But their usefulness is limited because they only deal with constructions that they consider errors. If I use a legal construction that my browser happens not to recognize, I’m on my own.
Here’s another example of a problem which the tools I know do not address. I recently tried a rather obscure technique for the first time, and it didn’t work. I spent hours comparing my code to the example I was following, trying to figure out what I’d done wrong. Finally I realized that I’d misspelled a file name in a style definition. I was using a smart editor, but as far as it knew there was no problem. The CSS file was syntactically and semantically perfect… it just happened to refer to a pathname that, at runtime, did not exist.
What I need is a way to make the browser tell me when and where the CSS file has a problem.