2.2.4 [HTML] Section 6.13, Media descriptors
To facilitate the introduction of these extensions, conforming user agents must be able to parse the media attribute value as follows: 1. The value is a comma-separated list of entries. For example, media="screen, 3d- glasses, print and resolution > 90dpi" is mapped to:"screen""3d-glasses""print and resolution > 90dpi" 2. Each entry is truncated just before the first character that isn't a US ASCII letter [a-zA-Z] (ISO 10646 hex 41-5a, 61-7a), digit [0-9] (hex 30-39), or hyphen (hex 2d). In the example, this gives: "screen""3d-glasses""print" 3. A case-sensitive match is then made with the set of media types defined above. User agents may ignore entries that don't match. In the example we are left with screen and print.
All Document Modes (All Versions)
Media is not truncated to the character preceding the first non-ASCII character in the sequence, and a case-sensitive match is not performed.