Skip to content

Commit d7352d4

Browse files
committed
We seem to have interop on not requiring whitespace here, both before { and before (, so go back to the CSS 2.1 way.
1 parent 2a5b6ae commit d7352d4

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

css3-conditional/Overview.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ <h2 id=at-media><span class=secno>5. </span>Media-specific style sheets:
492492
into:
493493

494494
<pre>media
495-
: MEDIA_SYM S+ media_query_list group_rule_body
495+
: MEDIA_SYM S* media_query_list group_rule_body
496496
;</pre>
497497

498498
<p>where the <code>group_rule_body</code> production is defined in this
@@ -502,10 +502,6 @@ <h2 id=at-media><span class=secno>5. </span>Media-specific style sheets:
502502
href="http://www.w3.org/TR/CSS21/grammar.html">Grammar of CSS 2.1</a> (<a
503503
href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, Appendix G).
504504

505-
<p class=issue>This changes the <code>S*</code> in CSS 2.1 into
506-
<code>S+</code>. Is that correct? (Actually, probably not, since I think
507-
"@media{" is valid.)
508-
509505
<h2 id=at-supports><span class=secno>6. </span>Feature queries: the ‘<a
510506
href="#dfn-support"><code class=css>@supports</code></a>’ rule</h2>
511507

css3-conditional/Overview.src.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,18 +324,14 @@ <h2 id="at-media">Media-specific style sheets: the '@media' rule</h2>
324324
<a href="http://www.w3.org/TR/CSS21/grammar.html">Grammar of CSS 2.1</a>
325325
([[!CSS21]], Appendix G) into:
326326
<pre>media
327-
: MEDIA_SYM S+ media_query_list group_rule_body
327+
: MEDIA_SYM S* media_query_list group_rule_body
328328
;</pre>
329329
<p>where the <code>group_rule_body</code> production is defined in this
330330
specification, the <code>media_query_list</code> production is defined
331331
in [[!MEDIAQ]], and the others are defined in the <a
332332
href="http://www.w3.org/TR/CSS21/grammar.html">Grammar of CSS 2.1</a>
333333
([[!CSS21]], Appendix G).
334334

335-
<p class="issue">This changes the <code>S*</code> in CSS 2.1 into
336-
<code>S+</code>. Is that correct? (Actually, probably not, since
337-
I think "@media{" is valid.)</p>
338-
339335
<h2 id="at-supports">Feature queries: the '@supports' rule</h2>
340336

341337
<p>The <dfn>'@supports' rule</dfn> is a conditional group

0 commit comments

Comments
 (0)