- From: David Baron via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 13 Jun 2011 23:51:53 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-conditional In directory hutz:/tmp/cvs-serv25430 Modified Files: Overview.html Overview.src.html Log Message: Better name for placement section, and give examples of start-of-sheet @-rules. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-conditional/Overview.html,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- Overview.html 13 Jun 2011 23:48:20 -0000 1.15 +++ Overview.html 13 Jun 2011 23:51:51 -0000 1.16 @@ -170,8 +170,8 @@ <li><a href="#contents"><span class=secno>3. </span>Contents of conditional group rules</a> - <li><a href="#use"><span class=secno>4. </span>Use of conditional group - rules</a> + <li><a href="#use"><span class=secno>4. </span>Placement of conditional + group rules</a> <li><a href="#at-media"><span class=secno>5. </span>Media-specific style sheets: the ‘<code class=css>@media</code>’ rule</a> @@ -383,10 +383,10 @@ <p>A group rule body is allowed to contain rulesets and any @-rules that are allowed at the top level of a style sheet before and after a ruleset. This means that @-rules that must occur at the beginning of the style - sheet, such as ‘<code class=css>@charset</code>’, ‘<code + sheet (such as ‘<code class=css>@charset</code>’, ‘<code class=css>@import</code>’, and ‘<code - class=css>@namespace</code>’ are not allowed inside of conditional - group rules. Conditional group rules can be nested. + class=css>@namespace</code>’ rules) are not allowed inside of + conditional group rules. Conditional group rules can be nested. <p>In terms of the grammar, this specification defines the following productions for use in the grammar of conditional group rules: @@ -428,17 +428,20 @@ (Rule sets, declaration blocks, and selectors)</a> of <a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>. - <h2 id=use><span class=secno>4. </span>Use of conditional group rules</h2> + <h2 id=use><span class=secno>4. </span>Placement of conditional group rules</h2> <p>Conditional group rules are allowed at the top-level of a style sheet, and inside other conditional group rules. CSS processors <strong>must</strong> process such rules as <a href="#processing">described above</a>. - <p>Any rules that are not allowed after a ruleset are also not allowed - after a conditional group rule. Therefore, style sheets <strong>must - not</strong> place such rules after a conditional group rules, and CSS - processors <strong>must</strong> ignore such rules. + <p>Any rules that are not allowed after a ruleset (e.g., ‘<code + class=css>@charset</code>’, ‘<code + class=css>@import</code>’, or ‘<code + class=css>@namespace</code>’ rules) are also not allowed after a + conditional group rule. Therefore, style sheets <strong>must not</strong> + place such rules after a conditional group rules, and CSS processors + <strong>must</strong> ignore such rules. <h2 id=at-media><span class=secno>5. </span>Media-specific style sheets: the ‘<code class=css>@media</code>’ rule</h2> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-conditional/Overview.src.html,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- Overview.src.html 13 Jun 2011 23:48:20 -0000 1.15 +++ Overview.src.html 13 Jun 2011 23:51:51 -0000 1.16 @@ -236,8 +236,8 @@ <p>A group rule body is allowed to contain rulesets and any @-rules that are allowed at the top level of a style sheet before and after a ruleset. This means that @-rules that must occur at the beginning of -the style sheet, such as '@charset', '@import', -and '@namespace' are not allowed inside of conditional group +the style sheet (such as '@charset', '@import', +and '@namespace' rules) are not allowed inside of conditional group rules. Conditional group rules can be nested.</p> <p>In terms of the grammar, this specification defines the following @@ -276,15 +276,16 @@ href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">section 4.1.7 (Rule sets, declaration blocks, and selectors)</a> of [[!CSS21]].</p> -<h2 id="use">Use of conditional group rules</h2> +<h2 id="use">Placement of conditional group rules</h2> <p>Conditional group rules are allowed at the top-level of a style sheet, and inside other conditional group rules. CSS processors <strong>must</strong> process such rules as <a href="#processing">described above</a>.</p> -<p>Any rules that are not allowed after a ruleset are also not allowed -after a conditional group rule. Therefore, style sheets <strong>must +<p>Any rules that are not allowed after a ruleset (e.g., ''@charset'', +''@import'', or ''@namespace'' rules) are also not allowed after a +conditional group rule. Therefore, style sheets <strong>must not</strong> place such rules after a conditional group rules, and CSS processors <strong>must</strong> ignore such rules.</p>
Received on Monday, 13 June 2011 23:51:59 UTC