File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22<html lang="en">
3- <!-- $Id: media.src,v 2.38 2006-06-02 16:18:03 bbos Exp $ -->
3+ <!-- $Id: media.src,v 2.39 2006-10-09 23:40:25 howcome Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Media types</TITLE>
@@ -179,15 +179,20 @@ one canvas and 'print' mode on another canvas.
179179type. The 'tv' media type, for example, is a multimodal media
180180type that renders both visually and aurally to a single canvas.
181181
182+ <p>@media and @import rules with unknown media types are treated as if
183+ the unknown media types are not present.
182184
183- <P>Unknown media type names must not result in the @media rule or
184- @import rule being ignored.
185+ <div class="example">
186+ <p>For example, in the following snippet, the rule on the P element applies
187+ in 'screen' mode (even though the '3D' media type is not known).
188+
189+ <pre>
190+ @media screen, 3D {
191+ P { color: green; }
192+ }
193+ </pre>
194+ </div>
185195
186- <!--
187- <P>Due to rapidly changing technologies, CSS2 does not specify a
188- definitive list of media types that may be values for <span
189- class="index-inst" title="@media">@media</span>.
190- -->
191196
192197<div class="note"><P>
193198<em><strong>Note.</strong>
You can’t perform that action at this time.
0 commit comments