Layout.css.report errors
From MozillaZine Knowledge Base
Jump to navigationJump to search
Background
The CSS parser now sends parse errors to the JavaScript Console — these include messages such as “Unknown property 'x'. Declaration dropped.”, “Error in parsing value for property 'x'. Declaration dropped.”, and “Expected 'x' but found 'y'. Declaration dropped.”. While these messages are helpful to web developers for diagnosing problems with web page appearance, they tend to clutter the JavaScript Console. This preference allows the parse errors to be disabled.
Possible values and their effects
True
Report CSS parse errors and display them in the JavaScript Console. (Default)
False
Suppress CSS parse error messages.
Caveats
- Since this feature is not included in Firefox 1.5 (but the parse errors are reported), users may want to use the Console² extension to suppress CSS errors in the JavaScript Console.
First checked in
Has an effect in
- Mozilla Firefox (all versions since 1.6a — not 1.5.*)
Related bugs
- Bug 65469 - get CSS error reporting working
- Bug 264162 - css error reporting should be pref-controlled