|
60 | 60 | </p> |
61 | 61 | <h1 class="p-name no-ref" id=title>Media Queries Level 4</h1> |
62 | 62 | <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft, |
63 | | - <span class=dt-updated><span class=value-title title=20140412>12 April 2014</span></span></span></h2> |
| 63 | + <span class=dt-updated><span class=value-title title=20140414>14 April 2014</span></span></span></h2> |
64 | 64 | <div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/mediaqueries4/>http://dev.w3.org/csswg/mediaqueries4/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/mediaqueries4/>http://dev.w3.org/csswg/mediaqueries4/</a> |
65 | 65 | <dt>Feedback:</dt> |
66 | 66 | <dd><a href="mailto:www-style@w3.org?subject=%5Bmediaqueries%5D%20feedback">www-style@w3.org</a> |
@@ -1113,14 +1113,10 @@ <h2 class="heading settled heading" data-level=3 id=mq-syntax><span class=secno> |
1113 | 1113 | The formal media query syntax is described in this section, |
1114 | 1114 | with the rule/property grammar syntax defined in <a data-biblio-type=normative data-link-type=biblio href=#css3syn title=css3syn>[CSS3SYN]</a> and <a data-biblio-type=normative data-link-type=biblio href=#css3val title=css3val>[CSS3VAL]</a>. |
1115 | 1115 |
|
1116 | | -<p> The <dfn class=css-code data-dfn-type=type data-export="" id=typedef-media-query-list><media-query-list><a class=self-link href=#typedef-media-query-list></a></dfn> production must be parsed by <a data-link-spec=css-syntax data-link-type=dfn href=http://dev.w3.org/csswg/css-syntax-3/#consume-a-component-value0 title="consume a component value">consuming a component value</a> |
1117 | | - and collecting the return value |
1118 | | - until a <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-comma-token title="<comma-token>"><comma-token></a> or <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-eof-token title="<eof-token>"><eof-token></a> is encountered, |
1119 | | - at which point it parses its accumulated results |
1120 | | - (not including the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-comma-token title="<comma-token>"><comma-token></a> or <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-eof-token title="<eof-token>"><eof-token></a>) |
1121 | | - as a <a class="production css-code" data-link-type=type href=#typedef-media-query title="<media-query>"><media-query></a>. |
1122 | | - It repeats this process until an <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-eof-token title="<eof-token>"><eof-token></a> is encountered, |
1123 | | - at which points its value is a list of its parsed <a class="production css-code" data-link-type=type href=#typedef-media-query title="<media-query>"><media-query></a>s. |
| 1116 | +<p> To parse a <dfn class=css-code data-dfn-type=type data-export="" id=typedef-media-query-list><media-query-list><a class=self-link href=#typedef-media-query-list></a></dfn> production, |
| 1117 | + <a data-link-type=dfn href=http://dev.w3.org/csswg/css-syntax-3/#parse-a-comma-separated-list-of-component-values0 title="parse a comma-separated list of component values">parse a comma-separated list of component values</a>, |
| 1118 | + then parse each entry in the returned list as a <a class="production css-code" data-link-type=type href=#typedef-media-query title="<media-query>"><media-query></a>. |
| 1119 | + Its value is the list of <a class="production css-code" data-link-type=type href=#typedef-media-query title="<media-query>"><media-query></a>s so produced. |
1124 | 1120 |
|
1125 | 1121 | <p class=note> Note: This explicit definition of <a class="production css-code" data-link-type=type href=#typedef-media-query-list title="<media-query-list>"><media-query-list></a> parsing |
1126 | 1122 | is necessary to make the error-recovery behavior of <a data-link-type=dfn href=#media-query-list title="media query lists">media query lists</a> well-defined. |
|
0 commit comments