- From: David Baron via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 13 Jun 2011 23:48:22 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-conditional
In directory hutz:/tmp/cvs-serv25138
Modified Files:
Overview.html Overview.src.html
Log Message:
Define error handling for contents, and define placement (what group rules can be within).
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-conditional/Overview.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Overview.html 13 Jun 2011 23:31:09 -0000 1.14
+++ Overview.html 13 Jun 2011 23:48:20 -0000 1.15
@@ -169,32 +169,31 @@
<li><a href="#contents"><span class=secno>3. </span>Contents of
conditional group rules</a>
- <ul class=toc>
- <li><a href="#group-error"><span class=secno>3.1. </span>Error
- handling</a>
- </ul>
- <li><a href="#at-media"><span class=secno>4. </span>Media-specific style
+ <li><a href="#use"><span class=secno>4. </span>Use 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>
- <li><a href="#at-supports"><span class=secno>5. </span>Feature queries:
+ <li><a href="#at-supports"><span class=secno>6. </span>Feature queries:
the ‘<code class=css>@supports</code>’ rule</a>
- <li><a href="#at-document"><span class=secno>6. </span>Document queries:
+ <li><a href="#at-document"><span class=secno>7. </span>Document queries:
the ‘<code class=css>@document</code>’ rule</a>
- <li><a href="#conformance"><span class=secno>7. </span>Conformance</a>
+ <li><a href="#conformance"><span class=secno>8. </span>Conformance</a>
<ul class=toc>
- <li><a href="#conformance-classes"><span class=secno>7.1.
+ <li><a href="#conformance-classes"><span class=secno>8.1.
</span>Conformance Classes</a>
- <li><a href="#partial"><span class=secno>7.2. </span> Partial
+ <li><a href="#partial"><span class=secno>8.2. </span> Partial
Implementations</a>
- <li><a href="#experimental"><span class=secno>7.3. </span>Experimental
+ <li><a href="#experimental"><span class=secno>8.3. </span>Experimental
Implementations</a>
- <li><a href="#cr-exit-criteria"><span class=secno>7.4. </span>CR Exit
+ <li><a href="#cr-exit-criteria"><span class=secno>8.4. </span>CR Exit
Criteria</a>
</ul>
@@ -418,14 +417,30 @@
<p>Style sheets <strong>must not</strong> use rules other than the allowed
ones inside conditional group rules.
- <h3 id=group-error><span class=secno>3.1. </span>Error handling</h3>
+ <p>CSS processors <strong>must</strong> ignore rules that are not allowed
+ within a group rule, and <strong>must</strong> handle invalid rules inside
+ of group rules as described in <a
+ href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors">section 4.2
+ (Rules for handling parsing errors)</a>, <a
+ href="http://www.w3.org/TR/CSS21/syndata.html#at-rules">section 4.1.5
+ (At-rules)</a>, and <a
+ href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">section 4.1.7
+ (Rule sets, declaration blocks, and selectors)</a> of <a href="#CSS21"
+ rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>.
- <p>Implementations <strong>must</strong> ignore rules that are not allowed
- within a group rule.
+ <h2 id=use><span class=secno>4. </span>Use of conditional group rules</h2>
- <p class=issue>Define error handling rules for unknown things.
+ <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>.
- <h2 id=at-media><span class=secno>4. </span>Media-specific style sheets:
+ <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.
+
+ <h2 id=at-media><span class=secno>5. </span>Media-specific style sheets:
the ‘<code class=css>@media</code>’ rule</h2>
<p>The <dfn id=media-rule>‘<code class=css>@media</code>’
@@ -470,7 +485,7 @@
<p class=issue>This changes the <code>S*</code> in CSS 2.1 into
<code>S+</code>. Is that correct?
- <h2 id=at-supports><span class=secno>5. </span>Feature queries: the
+ <h2 id=at-supports><span class=secno>6. </span>Feature queries: the
‘<code class=css>@supports</code>’ rule</h2>
<p>The <dfn id=supports-rule>‘<code class=css>@supports</code>’
@@ -673,7 +688,7 @@
}</pre>
</div>
- <h2 id=at-document><span class=secno>6. </span>Document queries: the
+ <h2 id=at-document><span class=secno>7. </span>Document queries: the
‘<code class=css>@document</code>’ rule</h2>
<p>The <dfn id=document-rule>‘<code class=css>@document</code>’
@@ -852,9 +867,9 @@
: URI | FUNCTION
;</pre>
- <h2 id=conformance><span class=secno>7. </span>Conformance</h2>
+ <h2 id=conformance><span class=secno>8. </span>Conformance</h2>
- <h3 id=conformance-classes><span class=secno>7.1. </span>Conformance
+ <h3 id=conformance-classes><span class=secno>8.1. </span>Conformance
Classes</h3>
<p>Conformance to the CSS Conditional Rules Module is defined for three
@@ -900,7 +915,7 @@
the generic CSS grammar and the individual grammars of each property in
this module.
- <h3 id=partial><span class=secno>7.2. </span> Partial Implementations</h3>
+ <h3 id=partial><span class=secno>8.2. </span> Partial Implementations</h3>
<p>So that authors can exploit the forward-compatible parsing rules to
assign fallback values, CSS renderers <strong>must</strong> treat as
@@ -914,7 +929,7 @@
unsupported values must be), CSS requires that the entire declaration be
ignored.
- <h3 id=experimental><span class=secno>7.3. </span>Experimental
+ <h3 id=experimental><span class=secno>8.3. </span>Experimental
Implementations</h3>
<p>To avoid clashes with future CSS features, the CSS specifications
@@ -928,7 +943,7 @@
should implement the non-prefixed syntax for any feature they consider to
be correctly implemented according to spec.
- <h3 id=cr-exit-criteria><span class=secno>7.4. </span>CR Exit Criteria</h3>
+ <h3 id=cr-exit-criteria><span class=secno>8.4. </span>CR Exit Criteria</h3>
<p id=cr-exit-criteria> For this specification to be advanced to Proposed
Recommendation, there must be at least two independent, interoperable
@@ -1126,62 +1141,62 @@
<li>conformance
<ul>
<li>authoring tool, <a href="#conform-authoring-tool"
- title="conformance, authoring tool"><strong>7.1.</strong></a>
+ title="conformance, authoring tool"><strong>8.1.</strong></a>
<li>renderer, <a href="#conform-renderer" title="conformance,
- renderer"><strong>7.1.</strong></a>
+ renderer"><strong>8.1.</strong></a>
<li>style sheet, <a href="#conform-style-sheet" title="conformance,
- style sheet"><strong>7.1.</strong></a>
+ style sheet"><strong>8.1.</strong></a>
</ul>
<li>‘<code class=css>@document</code>’ rule, <a
- href="#document-rule" title="'@document' rule"><strong>6.</strong></a>
+ href="#document-rule" title="'@document' rule"><strong>7.</strong></a>
<li>domain(), <a href="#url-domain"
- title="domain()"><strong>6.</strong></a>
+ title="domain()"><strong>7.</strong></a>
<li>domain matching function, <a href="#domain-matching-function"
- title="domain matching function"><strong>6.</strong></a>
+ title="domain matching function"><strong>7.</strong></a>
<li>exact url matching function, <a href="#exact-url-matching-function"
- title="exact url matching function"><strong>6.</strong></a>
+ title="exact url matching function"><strong>7.</strong></a>
<li>group rule body, <a href="#group-rule-body" title="group rule
body"><strong>3.</strong></a>
<li>‘<code class=css>@media</code>’ rule, <a
- href="#media-rule" title="'@media' rule"><strong>4.</strong></a>
+ href="#media-rule" title="'@media' rule"><strong>5.</strong></a>
<li>regexp(), <a href="#url-regexp"
- title="regexp()"><strong>6.</strong></a>
+ title="regexp()"><strong>7.</strong></a>
<li>‘<code class=css>@supports</code>’ rule, <a
- href="#supports-rule" title="'@supports' rule"><strong>5.</strong></a>
+ href="#supports-rule" title="'@supports' rule"><strong>6.</strong></a>
- <li>url(), <a href="#url-exact" title="url()"><strong>6.</strong></a>
+ <li>url(), <a href="#url-exact" title="url()"><strong>7.</strong></a>
<li>URL matching functions, <a href="#url-matching-functions" title="URL
- matching functions"><strong>6.</strong></a>
+ matching functions"><strong>7.</strong></a>
<ul>
<li>domain, <a href="#url-domain" title="URL matching functions,
- domain"><strong>6.</strong></a>
+ domain"><strong>7.</strong></a>
<li>exact, <a href="#url-exact" title="URL matching functions,
- exact"><strong>6.</strong></a>
+ exact"><strong>7.</strong></a>
<li>prefix, <a href="#url-prefix" title="URL matching functions,
- prefix"><strong>6.</strong></a>
+ prefix"><strong>7.</strong></a>
<li>regular expression, <a href="#url-regexp" title="URL matching
- functions, regular expression"><strong>6.</strong></a>
+ functions, regular expression"><strong>7.</strong></a>
</ul>
<li>url-prefix(), <a href="#url-prefix"
- title="url-prefix()"><strong>6.</strong></a>
+ title="url-prefix()"><strong>7.</strong></a>
<li>url prefix matching function, <a href="#url-prefix-matching-function"
- title="url prefix matching function"><strong>6.</strong></a>
+ title="url prefix matching function"><strong>7.</strong></a>
</ul>
<!--end-index-->
</html>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-conditional/Overview.src.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Overview.src.html 13 Jun 2011 23:31:09 -0000 1.14
+++ Overview.src.html 13 Jun 2011 23:48:20 -0000 1.15
@@ -266,12 +266,27 @@
<p>Style sheets <strong>must not</strong> use rules other than the allowed ones inside
conditional group rules.</p>
-<h3 id="group-error">Error handling</h3>
+<p>CSS processors <strong>must</strong> ignore rules that are not
+allowed within a group rule, and <strong>must</strong> handle invalid
+rules inside of group rules as described in <a
+href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors">section
+4.2 (Rules for handling parsing errors)</a>, <a
+href="http://www.w3.org/TR/CSS21/syndata.html#at-rules">section 4.1.5
+(At-rules)</a>, and <a
+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>
-<p>Implementations <strong>must</strong> ignore rules that are not
-allowed within a group rule.</p>
+<h2 id="use">Use of conditional group rules</h2>
-<p class="issue">Define error handling rules for unknown things.</p>
+<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
+not</strong> place such rules after a conditional group rules, and CSS
+processors <strong>must</strong> ignore such rules.</p>
<h2 id="at-media">Media-specific style sheets: the '@media' rule</h2>
Received on Monday, 13 June 2011 23:48:24 UTC