- From: David Baron via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 14 Jun 2011 01:25:13 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-conditional In directory hutz:/tmp/cvs-serv1888 Modified Files: Overview.html Overview.src.html Log Message: Attempt to write useful conformance definition. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-conditional/Overview.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- Overview.html 14 Jun 2011 00:28:28 -0000 1.17 +++ Overview.html 14 Jun 2011 01:25:10 -0000 1.18 @@ -191,16 +191,19 @@ <li><a href="#conformance"><span class=secno>8. </span>Conformance</a> <ul class=toc> - <li><a href="#conformance-classes"><span class=secno>8.1. + <li><a href="#base-modules"><span class=secno>8.1. </span>Base + Modules</a> + + <li><a href="#conformance-classes"><span class=secno>8.2. </span>Conformance Classes</a> - <li><a href="#partial"><span class=secno>8.2. </span> Partial + <li><a href="#partial"><span class=secno>8.3. </span> Partial Implementations</a> - <li><a href="#experimental"><span class=secno>8.3. </span>Experimental + <li><a href="#experimental"><span class=secno>8.4. </span>Experimental Implementations</a> - <li><a href="#cr-exit-criteria"><span class=secno>8.4. </span>CR Exit + <li><a href="#cr-exit-criteria"><span class=secno>8.5. </span>CR Exit Criteria</a> </ul> @@ -915,7 +918,40 @@ <h2 id=conformance><span class=secno>8. </span>Conformance</h2> - <h3 id=conformance-classes><span class=secno>8.1. </span>Conformance + <h3 id=base-modules><span class=secno>8.1. </span>Base Modules</h3> + + <p>This specification defines conformance in terms of base modules, which + are modules that this specification builds on top of. The base modules of + this module are: + + <ul> + <li><a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> + </ul> + + <p>All of the conformance requirements of all base modules are incorporated + as conformance requirements of this module, except where overridden by + this module. + + <p>Additionally, all conformance requirements related to validity of syntax + in this module and all of its base modules are to be interpreted as though + all syntax in all of those modules is valid. + + <div class=example> + <p>For example, this means that grammar presented in modules other than <a + href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> must obey the + requirements that <a href="#CSS21" + rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> defines for the parsing of + properties, and that requirements for handling invalid syntax in <a + href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> do not treat + syntax added by other modules as invalid. + </div> + + <p>Additionally, the set of valid syntax can be increased by the + conformance of a style sheet or processor to additional modules; use of + such syntax does not make a style sheet nonconformant and failure to treat + such syntax as invalid does not make a processor nonconformant. + + <h3 id=conformance-classes><span class=secno>8.2. </span>Conformance Classes</h3> <p>Conformance to the CSS Conditional Rules Module is defined for three @@ -928,40 +964,39 @@ <dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS style sheet</a>. - <dt><dfn id=conform-renderer title="conformance::renderer">renderer</dfn> + <dt><dfn id=conform-processor + title="conformance::processor">processor</dfn> - <dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a> + <dd>A tool that reads CSS style sheets: it may be a renderer or <a + href="http://www.w3.org/TR/CSS21/conform.html#user-agent">user-agent</a> that interprets the semantics of a style sheet and renders documents that - use them. + use style sheets, or it may be a validator that checks style sheets. <dt><dfn id=conform-authoring-tool title="conformance::authoring tool">authoring tool</dfn> - <dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a> - that writes a style sheet. + <dd>A tool that writes a style sheet. </dl> - <p>A style sheet is conformant to <var class=issue>CSS TEMPLATE - Module</var> if all of its declarations that use properties defined in - this module have values that are valid according to the generic CSS - grammar and the individual grammars of each property as given in this - module. + <p>A style sheet is conformant to the CSS Conditional Rules Module if it + meets all of the conformance requirements in the module that are described + as requirements of style sheets. - <p>A renderer is conformant to <var class=issue>CSS TEMPLATE Module</var> - if, in addition to interpreting the style sheet as defined by the - appropriate specifications, it supports all the properties defined by <var - class=issue>CSS TEMPLATE Module</var> by parsing them correctly and - rendering the document accordingly. However, the inability of a UA to - correctly render a document due to limitations of the device does not make - the UA non-conformant. (For example, a UA is not required to render color - on a monochrome monitor.) + <p>A processor is conformant to the CSS Conditional Rules Module if it + meets all applicable conformance requirements in the module that are + described as requirements of processors. In general, all requirements are + applicable to renderers. Requirements concerning a part of CSS not + performed by a processor are not applicable, e.g., requirements related to + rendering are not applicable to a validator. The inability of a processor + to correctly render a document due to limitations of the device does not + make it non-conformant. (For example, a renderer is not required to render + color on a monochrome monitor.) - <p>An authoring tool is conformant to <var class=issue>CSS TEMPLATE - Module</var> if it writes syntactically correct style sheets, according to - the generic CSS grammar and the individual grammars of each property in - this module. + <p>An authoring tool is conformant to the CSS Conditional Rules Module if + it writes style sheets that conform to the module and (if it reads CSS) it + is a conformant processor. - <h3 id=partial><span class=secno>8.2. </span> Partial Implementations</h3> + <h3 id=partial><span class=secno>8.3. </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 @@ -975,7 +1010,7 @@ unsupported values must be), CSS requires that the entire declaration be ignored. - <h3 id=experimental><span class=secno>8.3. </span>Experimental + <h3 id=experimental><span class=secno>8.4. </span>Experimental Implementations</h3> <p>To avoid clashes with future CSS features, the CSS specifications @@ -989,7 +1024,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>8.4. </span>CR Exit Criteria</h3> + <h3 id=cr-exit-criteria><span class=secno>8.5. </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 @@ -1187,13 +1222,13 @@ <li>conformance <ul> <li>authoring tool, <a href="#conform-authoring-tool" - title="conformance, authoring tool"><strong>8.1.</strong></a> + title="conformance, authoring tool"><strong>8.2.</strong></a> - <li>renderer, <a href="#conform-renderer" title="conformance, - renderer"><strong>8.1.</strong></a> + <li>processor, <a href="#conform-processor" title="conformance, + processor"><strong>8.2.</strong></a> <li>style sheet, <a href="#conform-style-sheet" title="conformance, - style sheet"><strong>8.1.</strong></a> + style sheet"><strong>8.2.</strong></a> </ul> <li>‘<code class=css>@document</code>’ rule, <a Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-conditional/Overview.src.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- Overview.src.html 14 Jun 2011 00:28:28 -0000 1.17 +++ Overview.src.html 14 Jun 2011 01:25:11 -0000 1.18 @@ -690,6 +690,36 @@ <h2 id="conformance">Conformance</h2> +<h3 id="base-modules">Base Modules</h3> + +<p>This specification defines conformance in terms of base modules, +which are modules that this specification builds on top of. The base +modules of this module are:</p> + +<ul> +<li>[[!CSS21]]</li> +</ul> + +<p>All of the conformance requirements of all base modules are +incorporated as conformance requirements of this module, except where +overridden by this module.</p> + +<p>Additionally, all conformance requirements related to validity of +syntax in this module and all of its base modules are to be interpreted +as though all syntax in all of those modules is valid.</p> + +<div class="example"><p>For example, this means that grammar presented +in modules other than [[!CSS21]] must obey the requirements that +[[!CSS21]] defines for the parsing of properties, and that requirements +for handling invalid syntax in [[!CSS21]] do not treat syntax added by +other modules as invalid.</p></div> + +<p>Additionally, the set of valid syntax can be increased by the +conformance of a style sheet or processor to additional modules; use of +such syntax does not make a style sheet nonconformant and failure to +treat such syntax as invalid does not make a processor +nonconformant.</p> + <h3 id="conformance-classes">Conformance Classes</h3> <p>Conformance to the CSS Conditional Rules Module is defined for three @@ -697,34 +727,35 @@ <dl> <dt><dfn title="conformance::style sheet" id="conform-style-sheet">style sheet</dfn> <dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS - style sheet</a>. - <dt><dfn title="conformance::renderer" id="conform-renderer">renderer</dfn></dt> - <dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a> + style sheet</a>.</dd> + <dt><dfn title="conformance::processor" id="conform-processor">processor</dfn></dt> + <dd>A tool that reads CSS style sheets: it may be a renderer or + <a + href="http://www.w3.org/TR/CSS21/conform.html#user-agent">user-agent</a> that interprets the semantics of a style sheet and renders - documents that use them. + documents that use style sheets, or it may be a validator that + checks style sheets.</dd> <dt><dfn title="conformance::authoring tool" id="conform-authoring-tool">authoring tool</dfn></dt> - <dd>A <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a> - that writes a style sheet. + <dd>A tool that writes a style sheet.</dd> </dl> - - <p>A style sheet is conformant to <var class="issue">CSS TEMPLATE Module</var> - if all of its declarations that use properties defined in this module - have values that are valid according to the generic CSS grammar and the - individual grammars of each property as given in this module. - - <p>A renderer is conformant to <var class="issue">CSS TEMPLATE Module</var> - if, in addition to interpreting the style sheet as defined by the - appropriate specifications, it supports all the properties defined - by <var class="issue">CSS TEMPLATE Module</var> by parsing them correctly - and rendering the document accordingly. However, the inability of a - UA to correctly render a document due to limitations of the device - does not make the UA non-conformant. (For example, a UA is not - required to render color on a monochrome monitor.) - - <p>An authoring tool is conformant to <var class="issue">CSS TEMPLATE Module</var> - if it writes syntactically correct style sheets, according to the - generic CSS grammar and the individual grammars of each property in - this module. + + <p>A style sheet is conformant to the CSS Conditional Rules Module + if it meets all of the conformance requirements in the module that are + described as requirements of style sheets.</p> + + <p>A processor is conformant to the CSS Conditional Rules Module if it + meets all applicable conformance requirements in the module that are + described as requirements of processors. In general, all requirements + are applicable to renderers. Requirements concerning a part of CSS + not performed by a processor are not applicable, e.g., requirements + related to rendering are not applicable to a validator. The inability + of a processor to correctly render a document due to limitations of + the device does not make it non-conformant. (For example, a renderer + is not required to render color on a monochrome monitor.)</p> + + <p>An authoring tool is conformant to the CSS Conditional Rules Module + if it writes style sheets that conform to the module and (if it reads + CSS) it is a conformant processor.</p> <h3 id="partial"> Partial Implementations</h3>
Received on Tuesday, 14 June 2011 01:25:14 UTC