Sat, 12 Dec 2009 00:13:32 +0000
Add conformance requirements for multiple style attributes. Finish Conformance section.
css-style-attr/Overview.html | file | annotate | diff | comparison | revisions | |
css-style-attr/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-style-attr/Overview.html Fri Dec 11 23:50:45 2009 +0000 1.2 +++ b/css-style-attr/Overview.html Sat Dec 12 00:13:32 2009 +0000 1.3 @@ -15,12 +15,12 @@ 1.4 1.5 <h1>CSS Style Attribute Syntax Level 1</h1> 1.6 1.7 - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 11 December 1.8 + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 12 December 1.9 2009</h2> 1.10 1.11 <dl> 1.12 <dt>This version:</dt> 1.13 - <!-- <dd><dd><a href="http://www.w3.org/TR/2009/WD-css-style-attr-20091211/">http://www.w3.org/TR/2009/WD-css-style-attr-20091211/</a></dd> --> 1.14 + <!-- <dd><dd><a href="http://www.w3.org/TR/2009/WD-css-style-attr-20091212/">http://www.w3.org/TR/2009/WD-css-style-attr-20091212/</a></dd> --> 1.15 1.16 <dd><a 1.17 href="http://dev.w3.org/csswg/css-style-attr/">http://dev.w3.org/csswg/css-style-attr/</a> 1.18 @@ -208,8 +208,37 @@ 1.19 cascading, the declarations in a style attribute must be interpreted 1.20 exactly as if they were given in a CSS style rule applied to the element. 1.21 1.22 + <p>The CSS Working Group strongly recommends that document languages do not 1.23 + allow multiple style attributes on a single element. If a document 1.24 + language allows multiple style attributes, each is parsed independently 1.25 + and treated as a separate style rule, the ordering of which should be 1.26 + defined by the document language, else is undefined. 1.27 + 1.28 <h2 id=conformance><span class=secno>5. </span>Conformance</h2> 1.29 1.30 + <p>A document or implementation cannot conform to CSS Style Attribute 1.31 + Syntax Level 1 alone, but can claim conformance to CSS Style Attribute 1.32 + Syntax Level 1 if it satisfies the conformance requirements in this 1.33 + specification when implementing CSS together with style attribute handling 1.34 + as defined in a document language that has style attributes. 1.35 + 1.36 + <p>Conformance to CSS Style Attribute Syntax Level 1 is defined for two 1.37 + classes: 1.38 + 1.39 + <dl> 1.40 + <dt><dfn id=document>document</dfn> 1.41 + 1.42 + <dd>A document represented in a document language that defines a style 1.43 + attribute for one or more of its elements. 1.44 + 1.45 + <dt><dfn id=interpreter>interpreter</dfn> 1.46 + 1.47 + <dd>Someone or something that interprets the semantics of a document and 1.48 + its associated style information. (Most CSS <a 1.49 + href="http://www.w3.org/TR/CSS21/conform.html#user-agent">user agents</a> 1.50 + fall under this category.) 1.51 + </dl> 1.52 + 1.53 <p>The conformance requirements are expressed with a combination of 1.54 descriptive assertions and RFC 2119 terminology. The key words "MUST", 1.55 "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT",
2.1 --- a/css-style-attr/Overview.src.html Fri Dec 11 23:50:45 2009 +0000 2.2 +++ b/css-style-attr/Overview.src.html Sat Dec 12 00:13:32 2009 +0000 2.3 @@ -103,8 +103,32 @@ 2.4 attribute must be interpreted exactly as if they were given in a CSS 2.5 style rule applied to the element. 2.6 2.7 +<p>The CSS Working Group strongly recommends that document languages do 2.8 +not allow multiple style attributes on a single element. If a document 2.9 +language allows multiple style attributes, each is parsed independently 2.10 +and treated as a separate style rule, the ordering of which should be 2.11 +defined by the document language, else is undefined. 2.12 + 2.13 <h2 id="conformance">Conformance</h2> 2.14 2.15 +<p>A document or implementation cannot conform to CSS Style Attribute Syntax 2.16 +Level 1 alone, but can claim conformance to CSS Style Attribute Syntax Level 1 2.17 +if it satisfies the conformance requirements in this specification when 2.18 +implementing CSS together with style attribute handling as defined in a 2.19 +document language that has style attributes.</p> 2.20 + 2.21 +<p>Conformance to CSS Style Attribute Syntax Level 1 is defined for two classes: 2.22 +<dl> 2.23 + <dt><dfn>document</dfn></dt> 2.24 + <dd>A document represented in a document language that defines a style 2.25 + attribute for one or more of its elements. 2.26 + <dt><dfn>interpreter</dfn></dt> 2.27 + <dd>Someone or something that interprets the semantics of a document and 2.28 + its associated style information. 2.29 + (Most CSS <a href="http://www.w3.org/TR/CSS21/conform.html#user-agent">user 2.30 + agents</a> fall under this category.)</dd> 2.31 +</dl> 2.32 + 2.33 <p>The conformance requirements are expressed with a combination of 2.34 descriptive assertions and RFC 2119 terminology. The key words "MUST", 2.35 "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT",