Read Me Page Accessibility, HTML, CSS, Broken Links, Spell Checking

Reference > CSS parsing issues

Parsing issues independent of CSS specification

Code
Summary
Details
Missing end of comment
A CSS comment was found, but the end of the comment was missing.
Closing quote is missing
An opening quote was found, but the matching end quote was missing. Outside of strings, quotes must always appear in matching pairs, and any single quotes must be escaped using '\'.
Closing brace '}' is missing
The start of a block '{' was found, but the matching end brace '}' was missing.
Mismatched pairs of '()', or '[]' found
Outside of strings, you must have matching pairs of parentheses '()' and square brackets '[]'. This error is normally displayed when there is a missing parenthesis or bracket, or an additional one has been entered by mistake, or an extra one has been deliberately added but hasn't been properly escaped using '\'.
An incomplete at-rule has been detected
The start of an at-rule was found, but the rest of the rule appears to be missing.
A block was expected but was not found
A block was expected but the opening brace '{' at the start of a block could not be found.
A selector was expected but could not be found
A selector appears to be missing. This may be caused by the complete absence of any selector, or in a complex selector one of the simple selectors is missing. This may be due to a simple error such as having an extra comma.
The block appears to have ended prematurely
The closing brace '}' of a block appears before the end of the declaration.
The property name is missing
A property name was expected but could not be found.
Incomplete declaration
The declaration appears to be incomplete. Either no property name or no values were found.
The semi-colon is missing from the end of the at-rule
at-rules should either have a block or a statement ending with a semi-colon, and neither could be found.
The identifier includes a character which is not allowed
Identifiers are restricted in the characters that are allowed. Note that there are normally greater restrictions on the first character of the identifier compared to the rest of it. See CSS Level 2.1 Characters.

Reference > CSS non-conformance

Issues due to non-conformance with the chosen CSS specification

Code
Summary
Details
Unknown at-rule
The at-rule is not recognised as valid for the selected CSS Level.
The @charset rule is not allowed here
The @charset rule can only be used in a separate CSS document and not in HTML documents.
The @charset rule must be the first line in the document
The exact 10 characters @charset " must be the first thing in the document. Anything, even white space, prior to this will trigger this error. See CSS Level 2.1 Charset.
The character set is not recognised
The character set specified is not recognised. This may be because it is misspelled.
The @import rule does not precede all other rules
Any @import rules must precede all other rules, except the @charset rule. See CSS Level 2.1 @import.
The at-rule is incorrectly formatted
The at-rule does not follow the standard definition. LINK TO STANDARD.
Invalid URI
It is an invalid URI, most likely containing invalid characters such as spaces. See RFC 3986.
An item is not allowed here
An at-rule, property or other item was used which is not allowed in this context.
Invalid @page selector used
The @page rule can only be used with specific selectors. LINK TO STANDARD.
Missing font family
With the @font-feature-values rule, one or more font family names should be provided.
One or more of the listed font families is badly formatted
One or more of the font family names listed do not meet the requirements of the specification.
Missing feature value list
With font variant value definitions, a list of feature values must be provided.
Invalid feature value list
The list of feature values does not meet the requirements of the specification.
One or more required font descriptors are missing
The @font-face at-rule must have both a 'font-family' and a 'src' descriptor.
The @namespace rule does not precede all other rules
Any @namespace rules must precede all other rules, except the @charset and @import rules. See @namespace.
The namespace NAMESPACE has not been not declared
A @namespace rule declaring the namespace used in the selector was not found.
A counter-style system descriptor is required
The @counter-style at-rule must have a 'system' descriptor. LINK TO STANDARD.
The counter-style name has an invalid name
The @counter-style at-rule cannot have any of these names: 'disc', 'decimal', 'default', 'unset', 'inherit', 'initial', 'revert' or 'none'.
The @charset rule is badly-formed
@charset must be written literally; the 10 characters @charset \" (lowercase, no backslash escapes), followed by the encoding name, and ending with \"; See @charset.
Missing or invalid palette name
With the @font-palette-values at-rule, a valid author-defined palette name must be provided.
A font-family descriptor is required
The @font-palette-values at-rule must have a 'font-family' descriptor.
Pseudo-elements can only appear at the end of a selector
Pseudo-elements may only be appended after the last simple selector of the selector. See CSS Level 2.1 Pseudo-Elements.
The pseudo-element/pseudo-class used was not recognised
Each CSS standard allows different pseudo-elements and pseudo-classes to be used, and one used here does not match the list of allowed pseudo-classes/pseudo-elements for this CSS Level.
A media type is missing
A media type was expected but appears to be missing. This can be caused by an extra comma in a list of media types.
The media type MEDIA_TYPE was not recognised
Each CSS Level allows different media types to be used, and the type used here does not match the list of allowed types for this CSS Level. LINK TO STANDARD.
A media query contains a parsing error
The media query contains a colon (:) in the wrong place.
Unknown media feature: MEDIA_FEATURE
The media feature name is not recognised. LINK TO STANDARD.
TEXT_DESCRIBING_PROBLEM: RULES_FOR_THIS_FEATURE
The value used is invalid for this media feature, because the value does not follow the allowed rules for this feature. A list of valid rules will be displayed for the feature.
The 'to' and 'from' keywords must appear only once
The 'to' and 'from' keywords must appear only once in a keyframe selector. See @keyframes.
Invalid percentage found in keyframe selector
Percentages must contain the '%' character and the value must be between 0% and 100%. See @keyframes.
Unknown property: PROPERTY_NAME
The property name is not recognised for the selected CSS Level.
TEXT_DESCRIBING_PROBLEM: OFFICIAL_RULES
Check the value against the list of valid rules from the official standard. LINK TO STANDARD.
The '!important' keyword is not allowed here
The '!important' keyword is only allowed in property values and not in declaration values.
A vendor extension has been used
Authors should avoid using vendor extensions where possible. See CSS Level 2.1 Vendor-specific extensions.
This property is experimental and has been ignored
Because this property is so new, it's definition has not yet been agreed upon, and so it has not been tested. Experimental properties should be avoided as few browsers may support them, and their definition may change at any time.
The media type MEDIA_TYPE is deprecated
This media type has been deprecated and so should no longer be used. Authors must not use these media types; instead, it is recommended that they select appropriate media features that better represent the aspect of the device that they are attempting to style against. LINK_TO_STANDARD.
The media feature MEDIA_FEATURE is deprecate
This media feature has been deprecated and so should no longer be used. Authors must not use these media features; instead, it is recommended that they select alternative media features as detailed in the link to the specification. LINK_TO_STANDARD.