Share via


2.1.30 [CSS-Level2-2009] Section 7.3, Recognized media types

V0030:

The specification states:

 Media type names are case-insensitive.

Quirks Mode and IE7 Mode (All Versions)

Media type names are case-sensitive.

V0031:

The specification states:

 @media and @import rules with unknown media types (that are nonetheless valid identifiers) are treated as if the unknown media types are not present. If an @media/@import rule contains a malformed media type (not an identifier) then the statement is invalid.
 Note: Media Queries supercedes this error handling.

Quirks Mode and IE7 Mode (All Versions)

The @import rule does not ignore unknown media types. In the case of an unknown media type, the @import rules fail.