|
15 | 15 |
|
16 | 16 | <h1>CSS Style Attribute Syntax Level 1</h1> |
17 | 17 |
|
18 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 11 December |
| 18 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 12 December |
19 | 19 | 2009</h2> |
20 | 20 |
|
21 | 21 | <dl> |
22 | 22 | <dt>This version:</dt> |
23 | | - <!-- <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> --> |
| 23 | + <!-- <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> --> |
24 | 24 |
|
25 | 25 | <dd><a |
26 | 26 | href="http://dev.w3.org/csswg/css-style-attr/">http://dev.w3.org/csswg/css-style-attr/</a> |
@@ -208,8 +208,37 @@ <h2 id=interpret><span class=secno>4. </span>Cascading and Interpretation</h2> |
208 | 208 | cascading, the declarations in a style attribute must be interpreted |
209 | 209 | exactly as if they were given in a CSS style rule applied to the element. |
210 | 210 |
|
| 211 | + <p>The CSS Working Group strongly recommends that document languages do not |
| 212 | + allow multiple style attributes on a single element. If a document |
| 213 | + language allows multiple style attributes, each is parsed independently |
| 214 | + and treated as a separate style rule, the ordering of which should be |
| 215 | + defined by the document language, else is undefined. |
| 216 | + |
211 | 217 | <h2 id=conformance><span class=secno>5. </span>Conformance</h2> |
212 | 218 |
|
| 219 | + <p>A document or implementation cannot conform to CSS Style Attribute |
| 220 | + Syntax Level 1 alone, but can claim conformance to CSS Style Attribute |
| 221 | + Syntax Level 1 if it satisfies the conformance requirements in this |
| 222 | + specification when implementing CSS together with style attribute handling |
| 223 | + as defined in a document language that has style attributes. |
| 224 | + |
| 225 | + <p>Conformance to CSS Style Attribute Syntax Level 1 is defined for two |
| 226 | + classes: |
| 227 | + |
| 228 | + <dl> |
| 229 | + <dt><dfn id=document>document</dfn> |
| 230 | + |
| 231 | + <dd>A document represented in a document language that defines a style |
| 232 | + attribute for one or more of its elements. |
| 233 | + |
| 234 | + <dt><dfn id=interpreter>interpreter</dfn> |
| 235 | + |
| 236 | + <dd>Someone or something that interprets the semantics of a document and |
| 237 | + its associated style information. (Most CSS <a |
| 238 | + href="http://www.w3.org/TR/CSS21/conform.html#user-agent">user agents</a> |
| 239 | + fall under this category.) |
| 240 | + </dl> |
| 241 | + |
213 | 242 | <p>The conformance requirements are expressed with a combination of |
214 | 243 | descriptive assertions and RFC 2119 terminology. The key words "MUST", |
215 | 244 | "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", |
|
0 commit comments