Upgrade wording throughout in response to hixie's comments about providing

Thu, 07 Jan 2010 08:25:14 +0000

author
Elika Etemad <fantasai.cvs@inkedblade.net>
date
Thu, 07 Jan 2010 08:25:14 +0000
changeset 1610
ddebc39f6d33
parent 1609
7694d5daa358
child 1611
f7c26d1266f9

Upgrade wording throughout in response to hixie's comments about providing
better hooks for HTML5 and more normative wording.

<Hixie> fantasai: how should HTML5 refer to
http://dev.w3.org/csswg/css-style-attr/ ?
<Hixie> there doesn't seem to be a "hook" defined that I can use
<Hixie> e.g. i'd like to say "the style attribute is a CSS Styling Attribute.
[CSSSTYLE]" or something
<Hixie> where "CSS Styling Attribute" would be some term of art defined in that
draft
<Hixie> it also seems to be lacking in normative conformance criteria
<Hixie> for example, it doesn't seem to include the equivalent of this
requirement in html5:
<Hixie> "In user agents that support CSS, the attribute's value must be parsed
when the attribute is added or has its value changed, with its value
treated as the body (the part inside the curly brackets) of a declaration
block in a rule whose selector matches just the element on which the
attribute is set. All URLs in the value must be resolved relative to the
element when the attribute is parsed."
<Hixie> (the latter bit is required to handle changing base URIs, e.g.)

(will handle the last line in the next commit)

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	Tue Jan 05 16:56:03 2010 +0000
     1.2 +++ b/css-style-attr/Overview.html	Thu Jan 07 08:25:14 2010 +0000
     1.3 @@ -3,7 +3,7 @@
     1.4  <html lang=en>
     1.5   <head><meta content="text/html; charset=utf-8" http-equiv=Content-Type>
     1.6  
     1.7 -  <title>CSS Style Attribute Syntax Level 1</title>
     1.8 +  <title>CSS Styling Attribute Syntax Level 1</title>
     1.9    <link href="../default.css" rel=stylesheet type="text/css">
    1.10    <link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel=stylesheet
    1.11    type="text/css">
    1.12 @@ -13,14 +13,13 @@
    1.13     <p><a href="http://www.w3.org/"><img alt=W3C height=48
    1.14      src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo-->
    1.15  
    1.16 -   <h1>CSS Style Attribute Syntax Level 1</h1>
    1.17 +   <h1>CSS Styling Attribute Syntax Level 1</h1>
    1.18  
    1.19 -   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 12 December
    1.20 -    2009</h2>
    1.21 +   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 7 January 2010</h2>
    1.22  
    1.23     <dl>
    1.24      <dt>This version:</dt>
    1.25 -    <!-- <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.26 +    <!-- <dd><dd><a href="http://www.w3.org/TR/2010/WD-css-style-attr-20100107/">http://www.w3.org/TR/2010/WD-css-style-attr-20100107/</a></dd> -->
    1.27  
    1.28      <dd><a
    1.29       href="http://dev.w3.org/csswg/css-style-attr/">http://dev.w3.org/csswg/css-style-attr/</a>
    1.30 @@ -59,7 +58,7 @@
    1.31     <!--begin-copyright-->
    1.32     <p class=copyright><a
    1.33      href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
    1.34 -    rel=license>Copyright</a> &copy; 2009 <a
    1.35 +    rel=license>Copyright</a> &copy; 2010 <a
    1.36      href="http://www.w3.org/"><acronym title="World Wide Web
    1.37      Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
    1.38      href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute
    1.39 @@ -79,10 +78,10 @@
    1.40  
    1.41    <h2 class="no-num no-toc" id=abstract>Abstract</h2>
    1.42  
    1.43 -  <p>Markup languages such as HTML and SVG provide a "style" attribute on
    1.44 +  <p>Markup languages such as HTML and SVG provide a styling attribute on
    1.45     most elements, to hold a fragment of a style sheet that applies to those
    1.46     elements. One of the possible style sheet languages is CSS. This draft
    1.47 -   describes the syntax of the CSS fragment that can be used in the "style"
    1.48 +   describes the syntax of the CSS fragment that can be used in the styling
    1.49     attribute.
    1.50  
    1.51    <h2 class="no-num no-toc" id=status>Status of this document</h2>
    1.52 @@ -126,15 +125,15 @@
    1.53    <ul class=toc>
    1.54     <li><a href="#intro"><span class=secno>1. </span>Introduction</a>
    1.55  
    1.56 -   <li><a href="#syntax"><span class=secno>2. </span>Syntax</a>
    1.57 +   <li><a href="#conformance"><span class=secno>2. </span>Conformance</a>
    1.58  
    1.59 -   <li><a href="#grammar"><span class=secno>3. </span>Grammar</a>
    1.60 +   <li><a href="#syntax"><span class=secno>3. </span>Syntax and Parsing</a>
    1.61  
    1.62 -   <li><a href="#interpret"><span class=secno>4. </span>Cascading and
    1.63 +   <li><a href="#grammar"><span class=secno>4. </span>Grammar</a>
    1.64 +
    1.65 +   <li><a href="#interpret"><span class=secno>5. </span>Cascading and
    1.66      Interpretation</a>
    1.67  
    1.68 -   <li><a href="#conformance"><span class=secno>5. </span>Conformance</a>
    1.69 -
    1.70     <li><a href="#ack"><span class=secno>6. </span>Acknowledgments</a>
    1.71  
    1.72     <li><a href="#references"><span class=secno>7. </span>References </a>
    1.73 @@ -150,11 +149,12 @@
    1.74  
    1.75    <h2 id=intro><span class=secno>1. </span>Introduction</h2>
    1.76  
    1.77 -  <p>Several XML-based document formats have a "style" attribute to permit
    1.78 -   the author to directly apply style information to specific elements in
    1.79 -   documents. If a document format defines a "style" attribute and the
    1.80 -   attribute accepts CSS as its value, then this specification describes the
    1.81 -   attribute's syntax and interpretation.
    1.82 +  <p>Some document formats have a <dfn id=styling-attribute>styling
    1.83 +   attribute</dfn> to permit the author to directly apply style information
    1.84 +   to specific elements in documents. If a document format defines a styling
    1.85 +   attribute and the attribute accepts CSS as its value, then this
    1.86 +   specification defines this <dfn id=css-styling-attribute>CSS styling
    1.87 +   attribute</dfn>&lsquo;<code class=css>s syntax and interpretation. </code>
    1.88  
    1.89    <div class=example>
    1.90     <p>The following example shows the use of the <code>style</code> attribute
    1.91 @@ -163,72 +163,22 @@
    1.92     <pre>&lt;p style="<em>color: #090; line-height: 1.2</em>"&gt;...&lt;/p&gt;</pre>
    1.93    </div>
    1.94  
    1.95 -  <h2 id=syntax><span class=secno>2. </span>Syntax</h2>
    1.96 +  <h2 id=conformance><span class=secno>2. </span>Conformance</h2>
    1.97  
    1.98 -  <p>The syntax of the style attribute syntax is exactly the same as the
    1.99 -   contents of a CSS <a
   1.100 -   href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">declaration
   1.101 -   block</a>. A close brace (<code>}</code>) in the style attribute value
   1.102 -   does not terminate the style data; it is merely an invalid token.
   1.103 +  <p>A document or implementation cannot conform to CSS Styling Attribute
   1.104 +   Syntax Level 1 alone, but can claim conformance to CSS Styling Attribute
   1.105 +   Syntax Level 1 if it satisfies the conformance requirements in this
   1.106 +   specification when implementing CSS together with styling attribute
   1.107 +   handling as defined in a document language that has CSS styling
   1.108 +   attributes.
   1.109  
   1.110 -  <p>The same rules for forward-compatible parsing apply to the inline style
   1.111 -   sheet as to a normal style sheet. See <a
   1.112 -   href="http://www.w3.org/TR/CSS21/syndata.html">chapter 4 of the CSS2.1
   1.113 -   specification</a>. <a href="#CSS21"
   1.114 -   rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
   1.115 -
   1.116 -  <h2 id=grammar><span class=secno>3. </span>Grammar</h2>
   1.117 -
   1.118 -  <p>The syntax of the CSS fragment that is allowed in the HTML "style"
   1.119 -   attribute can be formally specified as follows:
   1.120 -
   1.121 -  <pre>
   1.122 -inline-stylesheet
   1.123 -  : S* declaration-list
   1.124 -  ;
   1.125 -
   1.126 -declaration-list
   1.127 -  : declaration [ ';' S* declaration ]*
   1.128 -  ;
   1.129 -</pre>
   1.130 -
   1.131 -  <p>Please refer to the grammar in <a
   1.132 -   href="http://www.w3.org/TR/CSS21/grammar.html">appendix D of the CSS2.1
   1.133 -   specification</a> <a href="#CSS21"
   1.134 -   rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> for the definition of the
   1.135 -   symbols not defined here.
   1.136 -
   1.137 -  <h2 id=interpret><span class=secno>4. </span>Cascading and Interpretation</h2>
   1.138 -
   1.139 -  <p>The declarations in a style attribute apply to the element to which the
   1.140 -   attribute belongs. CSS2.1 <a
   1.141 -   href="/TR/CSS21/cascade.html#specificity">defines</a> how style sheets and
   1.142 -   "style" attributes are cascaded together. <a href="#CSS21"
   1.143 -   rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> Aside from the differences in
   1.144 -   cascading, the declarations in a style attribute must be interpreted
   1.145 -   exactly as if they were given in a CSS style rule applied to the element.
   1.146 -
   1.147 -  <p>The CSS Working Group strongly recommends that document languages do not
   1.148 -   allow multiple style attributes on a single element. If a document
   1.149 -   language allows multiple style attributes, each is parsed independently
   1.150 -   and treated as a separate style rule, the ordering of which should be
   1.151 -   defined by the document language, else is undefined.
   1.152 -
   1.153 -  <h2 id=conformance><span class=secno>5. </span>Conformance</h2>
   1.154 -
   1.155 -  <p>A document or implementation cannot conform to CSS Style Attribute
   1.156 -   Syntax Level 1 alone, but can claim conformance to CSS Style Attribute
   1.157 -   Syntax Level 1 if it satisfies the conformance requirements in this
   1.158 -   specification when implementing CSS together with style attribute handling
   1.159 -   as defined in a document language that has style attributes.
   1.160 -
   1.161 -  <p>Conformance to CSS Style Attribute Syntax Level 1 is defined for two
   1.162 +  <p>Conformance to CSS Styling Attribute Syntax Level 1 is defined for two
   1.163     classes:
   1.164  
   1.165    <dl>
   1.166     <dt><dfn id=document>document</dfn>
   1.167  
   1.168 -   <dd>A document represented in a document language that defines a style
   1.169 +   <dd>A document represented in a document language that defines a styling
   1.170      attribute for one or more of its elements.
   1.171  
   1.172     <dt><dfn id=interpreter>interpreter</dfn>
   1.173 @@ -262,6 +212,64 @@
   1.174  
   1.175    <p class=note>Note, this is an informative note.
   1.176  
   1.177 +  <h2 id=syntax><span class=secno>3. </span>Syntax and Parsing</h2>
   1.178 +
   1.179 +  <p>The value of the styling attribute must match the syntax of the contents
   1.180 +   of a CSS <a
   1.181 +   href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">declaration
   1.182 +   block</a>. The interpreter must parse the styling attribute&rsquo;s value
   1.183 +   using the same forward-compatible parsing rules that apply to parsing
   1.184 +   declaration block contents in a normal CSS style sheet. See <a
   1.185 +   href="http://www.w3.org/TR/CSS21/syndata.html">chapter 4 of the CSS2.1
   1.186 +   specification</a>. <a href="#CSS21"
   1.187 +   rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
   1.188 +
   1.189 +  <p class=note>Note that because there is no open brace delimiting the
   1.190 +   declaration list in the CSS styling attribute syntax, a close brace
   1.191 +   (<code>}</code>) in the styling attribute's value does not terminate the
   1.192 +   style data: it is merely an invalid token.
   1.193 +
   1.194 +  <h2 id=grammar><span class=secno>4. </span>Grammar</h2>
   1.195 +
   1.196 +  <p>The syntax of the CSS fragment that is allowed as the CSS styling
   1.197 +   attribute's value is formally specified as follows:
   1.198 +
   1.199 +  <pre>
   1.200 +inline-stylesheet
   1.201 +  : S* declaration-list
   1.202 +  ;
   1.203 +
   1.204 +declaration-list
   1.205 +  : declaration [ ';' S* declaration ]*
   1.206 +  ;
   1.207 +</pre>
   1.208 +
   1.209 +  <p>Please refer to the grammar in <a
   1.210 +   href="http://www.w3.org/TR/CSS21/grammar.html">appendix D of the CSS2.1
   1.211 +   specification</a> <a href="#CSS21"
   1.212 +   rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> for the definition of the
   1.213 +   symbols not defined here.
   1.214 +
   1.215 +  <h2 id=interpret><span class=secno>5. </span>Cascading and Interpretation</h2>
   1.216 +
   1.217 +  <p>The declarations in a styling attribute apply to the element to which
   1.218 +   the attribute belongs. CSS2.1 <a
   1.219 +   href="/TR/CSS21/cascade.html#specificity">defines</a> how style sheets and
   1.220 +   styling attributes are cascaded together. <a href="#CSS21"
   1.221 +   rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> Relative URLs in the style
   1.222 +   data must be resolved relative to the styling attribute's element (or to
   1.223 +   the document if per-element resolution is not defined).
   1.224 +
   1.225 +  <p>Aside from the differences in cascading, the declarations in a styling
   1.226 +   attribute must be interpreted exactly as if they were given in a CSS style
   1.227 +   rule that applies to the element.
   1.228 +
   1.229 +  <p>The CSS Working Group strongly recommends that document languages do not
   1.230 +   allow multiple CSS styling attributes on a single element. If a document
   1.231 +   language allows multiple CSS styling attributes, each must be parsed
   1.232 +   independently and treated as a separate style rule, the ordering of which
   1.233 +   should be defined by the document language, else is undefined.
   1.234 +
   1.235    <h2 id=ack><span class=secno>6. </span>Acknowledgments</h2>
   1.236  
   1.237    <p>Thanks to feedback from Daniel Glazman, Ian Hickson, Eric A. Meyer,
     2.1 --- a/css-style-attr/Overview.src.html	Tue Jan 05 16:56:03 2010 +0000
     2.2 +++ b/css-style-attr/Overview.src.html	Thu Jan 07 08:25:14 2010 +0000
     2.3 @@ -2,7 +2,7 @@
     2.4  <html lang="en">
     2.5  <head>
     2.6    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     2.7 -  <title>CSS Style Attribute Syntax Level 1</title>
     2.8 +  <title>CSS Styling Attribute Syntax Level 1</title>
     2.9    <link rel="stylesheet" type="text/css" href="../default.css">
    2.10  
    2.11    <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-ED">
    2.12 @@ -11,7 +11,7 @@
    2.13  <div class="head">
    2.14  <!--logo-->
    2.15  
    2.16 -<h1>CSS Style Attribute Syntax Level 1</h1>
    2.17 +<h1>CSS Styling Attribute Syntax Level 1</h1>
    2.18  
    2.19  <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
    2.20  <dl>
    2.21 @@ -38,10 +38,10 @@
    2.22  
    2.23  <h2 class="no-num no-toc" id="abstract">Abstract</h2>
    2.24  
    2.25 -<p>Markup languages such as HTML and SVG provide a "style" attribute on most
    2.26 +<p>Markup languages such as HTML and SVG provide a styling attribute on most
    2.27  elements, to hold a fragment of a style sheet that applies to those elements.
    2.28  One of the possible style sheet languages is CSS. This draft describes the
    2.29 -syntax of the CSS fragment that can be used in the "style" attribute.
    2.30 +syntax of the CSS fragment that can be used in the styling attribute.
    2.31  
    2.32  <h2 class="no-num no-toc" id="status">Status of this document</h2>
    2.33  <!--status-->
    2.34 @@ -51,11 +51,11 @@
    2.35  
    2.36  <h2 id="intro">Introduction</h2>
    2.37  
    2.38 -<p>Several XML-based document formats have a "style" attribute to permit the
    2.39 -author to directly apply style information to specific elements in documents.
    2.40 -If a document format defines a "style" attribute and the attribute accepts CSS
    2.41 -as its value, then this specification describes the attribute's syntax and
    2.42 -interpretation.
    2.43 +<p>Some document formats have a <dfn>styling attribute</dfn> to permit
    2.44 +the author to directly apply style information to specific elements
    2.45 +in documents. If a document format defines a styling attribute and the
    2.46 +attribute accepts CSS as its value, then this specification defines this
    2.47 +<dfn>CSS styling attribute</dfn>'s syntax and interpretation.
    2.48  
    2.49  <div class="example">
    2.50    <p>The following example shows the use of the <code>style</code> attribute
    2.51 @@ -63,64 +63,19 @@
    2.52    <pre>&lt;p style="<em>color: #090; line-height: 1.2</em>"&gt;...&lt;/p&gt;</pre>
    2.53  </div>
    2.54  
    2.55 -<h2 id="syntax">Syntax</h2>
    2.56 -
    2.57 -<p>The syntax of the style attribute syntax is exactly the same as the
    2.58 -contents of a CSS
    2.59 -<a href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">declaration block</a>.
    2.60 -A close brace (<code>}</code>) in the style attribute value does not
    2.61 -terminate the style data; it is merely an invalid token.
    2.62 -
    2.63 -<p>The same rules for forward-compatible parsing apply to the inline style
    2.64 -sheet as to a normal style sheet. See <a href="http://www.w3.org/TR/CSS21/syndata.html">chapter
    2.65 -4 of the CSS2.1 specification</a>. [[!CSS21]]
    2.66 -
    2.67 -<h2 id="grammar">Grammar</h2>
    2.68 -
    2.69 -<p>The syntax of the CSS fragment that is allowed in the HTML "style"
    2.70 -attribute can be formally specified as follows:
    2.71 -
    2.72 -<pre>
    2.73 -inline-stylesheet
    2.74 -  : S* declaration-list
    2.75 -  ;
    2.76 -
    2.77 -declaration-list
    2.78 -  : declaration [ ';' S* declaration ]*
    2.79 -  ;
    2.80 -</pre>
    2.81 -
    2.82 -<p>Please refer to the grammar in <a href="http://www.w3.org/TR/CSS21/grammar.html">appendix D
    2.83 -of the CSS2.1 specification</a> [[!CSS21]] for the definition of the symbols
    2.84 -not defined here.
    2.85 -
    2.86 -<h2 id="interpret">Cascading and Interpretation</h2>
    2.87 -
    2.88 -<p>The declarations in a style attribute apply to the element to which
    2.89 -the attribute belongs. CSS2.1 <a href="/TR/CSS21/cascade.html#specificity">defines</a>
    2.90 -how style sheets and "style" attributes are cascaded together. [[!CSS21]]
    2.91 -Aside from the differences in cascading, the declarations in a style
    2.92 -attribute must be interpreted exactly as if they were given in a CSS
    2.93 -style rule applied to the element.
    2.94 -
    2.95 -<p>The CSS Working Group strongly recommends that document languages do
    2.96 -not allow multiple style attributes on a single element. If a document
    2.97 -language allows multiple style attributes, each is parsed independently
    2.98 -and treated as a separate style rule, the ordering of which should be
    2.99 -defined by the document language, else is undefined.
   2.100 -
   2.101  <h2 id="conformance">Conformance</h2>
   2.102  
   2.103 -<p>A document or implementation cannot conform to CSS Style Attribute Syntax
   2.104 -Level 1 alone, but can claim conformance to CSS Style Attribute Syntax Level 1
   2.105 +<p>A document or implementation cannot conform to CSS Styling Attribute Syntax
   2.106 +Level 1 alone, but can claim conformance to CSS Styling Attribute Syntax Level 1
   2.107  if it satisfies the conformance requirements in this specification when
   2.108 -implementing CSS together with style attribute handling as defined in a
   2.109 -document language that has style attributes.</p>
   2.110 +implementing CSS together with styling attribute handling as defined in a
   2.111 +document language that has CSS styling attributes.</p>
   2.112  
   2.113 -<p>Conformance to CSS Style Attribute Syntax Level 1 is defined for two classes:
   2.114 +<p>Conformance to CSS Styling Attribute Syntax Level 1 is defined for two
   2.115 +classes:
   2.116  <dl>
   2.117    <dt><dfn>document</dfn></dt>
   2.118 -    <dd>A document represented in a document language that defines a style
   2.119 +    <dd>A document represented in a document language that defines a styling
   2.120        attribute for one or more of its elements.
   2.121    <dt><dfn>interpreter</dfn></dt>
   2.122      <dd>Someone or something that interprets the semantics of a document and
   2.123 @@ -152,6 +107,59 @@
   2.124  
   2.125  <p class="note">Note, this is an informative note.</p>
   2.126  
   2.127 +<h2 id="syntax">Syntax and Parsing</h2>
   2.128 +
   2.129 +<p>The value of the styling attribute must match the syntax of the contents of
   2.130 +a CSS <a href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">declaration
   2.131 +block</a>. The interpreter must parse the styling attribute's value using the
   2.132 +same forward-compatible parsing rules that apply to parsing declaration block
   2.133 +contents in a normal CSS style sheet. See
   2.134 +<a href="http://www.w3.org/TR/CSS21/syndata.html">chapter 4 of the CSS2.1
   2.135 +specification</a>. [[!CSS21]]
   2.136 +
   2.137 +<p class="note">Note that because there is no open brace delimiting the
   2.138 +declaration list in the CSS styling attribute syntax, a close brace
   2.139 +(<code>}</code>) in the styling attribute's value does not terminate the
   2.140 +style data: it is merely an invalid token.</p>
   2.141 +
   2.142 +<h2 id="grammar">Grammar</h2>
   2.143 +
   2.144 +<p>The syntax of the CSS fragment that is allowed as the CSS styling
   2.145 +attribute's value is formally specified as follows:
   2.146 +
   2.147 +<pre>
   2.148 +inline-stylesheet
   2.149 +  : S* declaration-list
   2.150 +  ;
   2.151 +
   2.152 +declaration-list
   2.153 +  : declaration [ ';' S* declaration ]*
   2.154 +  ;
   2.155 +</pre>
   2.156 +
   2.157 +<p>Please refer to the grammar in <a href="http://www.w3.org/TR/CSS21/grammar.html">appendix D
   2.158 +of the CSS2.1 specification</a> [[!CSS21]] for the definition of the symbols
   2.159 +not defined here.
   2.160 +
   2.161 +<h2 id="interpret">Cascading and Interpretation</h2>
   2.162 +
   2.163 +<p>The declarations in a styling attribute apply to the element to which
   2.164 +the attribute belongs. CSS2.1 <a href="/TR/CSS21/cascade.html#specificity">defines</a>
   2.165 +how style sheets and styling attributes are cascaded together. [[!CSS21]]
   2.166 +Relative URLs in the style data must be resolved relative to the styling
   2.167 +attribute's element (or to the document if per-element resolution is not
   2.168 +defined).
   2.169 +
   2.170 +<p>Aside from the differences in cascading, the declarations in a styling
   2.171 +attribute must be interpreted exactly as if they were given in a CSS
   2.172 +style rule that applies to the element.
   2.173 +
   2.174 +<p>The CSS Working Group strongly recommends that document languages do
   2.175 +not allow multiple CSS styling attributes on a single element. If a document
   2.176 +language allows multiple CSS styling attributes, each must be parsed
   2.177 +independently and treated as a separate style rule, the ordering of which
   2.178 +should be defined by the document language, else is undefined.
   2.179 +
   2.180  <h2 id="ack">Acknowledgments</h2>
   2.181  
   2.182  <p>Thanks to feedback from Daniel Glazman, Ian Hickson, Eric A. Meyer,

mercurial