[html5] r4508 - [e] (0) Change to referencing CSSATTR instead of CSS for style=''. Fixing http:/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 5 23:45:03 PST 2010


Author: ianh
Date: 2010-01-05 23:44:57 -0800 (Tue, 05 Jan 2010)
New Revision: 4508

Modified:
   complete.html
   index
   source
   vocabs-index
Log:
[e] (0) Change to referencing CSSATTR instead of CSS for style=''.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8472

Modified: complete.html
===================================================================
--- complete.html	2010-01-06 06:07:20 UTC (rev 4507)
+++ complete.html	2010-01-06 07:44:57 UTC (rev 4508)
@@ -8137,19 +8137,19 @@
 
   <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-style><a href=#the-style-attribute>style</a></code> content attribute set. If specified,
   the attribute must contain only a list of zero or more
-  semicolon-separated (;) CSS declarations. <a href=#refsCSS>[CSS]</a></p>
+  semicolon-separated (;) CSS declarations, matching the CSS Style
+  Attribute <code title="">inline-stylesheet</code> production. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
   <div class=impl>
 
   <p>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 <a href=#url title=URL>URLs</a> in the value must be <a href=#resolve-a-url title="resolve a
+  parsed when the attribute is added or has its value changed,
+  according to the rules given for CSS Style Attributes. All <a href=#url title=URL>URLs</a> in the value must be <a href=#resolve-a-url title="resolve a
   url">resolved</a> relative to the element when the attribute is
   parsed.<!-- so dynamic changes to the base URL don't affect the CSS
   --> For the purposes of the CSS cascade, the attribute must be
-  considered to be a 'style' attribute at the author level.</p>
+  considered to be a 'style' attribute at the author level, as defined
+  by the rules given for CSS Style Attributes. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
   </div>
 
@@ -85991,6 +85991,8 @@
   <p>All references are normative unless marked "Non-normative".</p>
 <!--START vCard--><!--START vEvent-->
 
+<!-- XXX really should remove dates and version numbers from these references once and for all -->
+
   <dl><dt id=refsABNF>[ABNF]</dt>
    <dd><cite><a href=http://www.ietf.org/rfc/std/std68.txt>Augmented
    BNF for Syntax Specifications: ABNF</a></cite>, D. Crocker,
@@ -86085,6 +86087,11 @@
    Revision 1</a></cite>, B. Bos, T. Çelik, I.
    Hickson, H. Lie. W3C, April 2009.</dd>
 
+   <dt id=refsCSSATTR>[CSSATTR]</dt>
+   <dd><cite><a href=http://dev.w3.org/csswg/css-style-attr/>CSS
+   Style Attribute Syntax</a></cite>, E. Etemad. W3C, December
+   2009.</dd>
+
    <dt id=refsCSSCOLOR>[CSSCOLOR]</dt>
    <!--
    <dd><cite><a href="http://www.w3.org/TR/css3-color/">CSS Color

Modified: index
===================================================================
--- index	2010-01-06 06:07:20 UTC (rev 4507)
+++ index	2010-01-06 07:44:57 UTC (rev 4508)
@@ -7972,19 +7972,19 @@
 
   <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-style><a href=#the-style-attribute>style</a></code> content attribute set. If specified,
   the attribute must contain only a list of zero or more
-  semicolon-separated (;) CSS declarations. <a href=#refsCSS>[CSS]</a></p>
+  semicolon-separated (;) CSS declarations, matching the CSS Style
+  Attribute <code title="">inline-stylesheet</code> production. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
   <div class=impl>
 
   <p>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 <a href=#url title=URL>URLs</a> in the value must be <a href=#resolve-a-url title="resolve a
+  parsed when the attribute is added or has its value changed,
+  according to the rules given for CSS Style Attributes. All <a href=#url title=URL>URLs</a> in the value must be <a href=#resolve-a-url title="resolve a
   url">resolved</a> relative to the element when the attribute is
   parsed.<!-- so dynamic changes to the base URL don't affect the CSS
   --> For the purposes of the CSS cascade, the attribute must be
-  considered to be a 'style' attribute at the author level.</p>
+  considered to be a 'style' attribute at the author level, as defined
+  by the rules given for CSS Style Attributes. <a href=#refsCSSATTR>[CSSATTR]</a></p>
 
   </div>
 
@@ -77756,6 +77756,8 @@
   <p>All references are normative unless marked "Non-normative".</p>
 <!--START vCard--><!--START vEvent-->
 
+<!-- XXX really should remove dates and version numbers from these references once and for all -->
+
   <dl><dt id=refsABNF>[ABNF]</dt>
    <dd><cite><a href=http://www.ietf.org/rfc/std/std68.txt>Augmented
    BNF for Syntax Specifications: ABNF</a></cite>, D. Crocker,
@@ -77850,6 +77852,11 @@
    Revision 1</a></cite>, B. Bos, T. Çelik, I.
    Hickson, H. Lie. W3C, April 2009.</dd>
 
+   <dt id=refsCSSATTR>[CSSATTR]</dt>
+   <dd><cite><a href=http://dev.w3.org/csswg/css-style-attr/>CSS
+   Style Attribute Syntax</a></cite>, E. Etemad. W3C, December
+   2009.</dd>
+
    <dt id=refsCSSCOLOR>[CSSCOLOR]</dt>
    <!--
    <dd><cite><a href="http://www.w3.org/TR/css3-color/">CSS Color

Modified: source
===================================================================
--- source	2010-01-06 06:07:20 UTC (rev 4507)
+++ source	2010-01-06 07:44:57 UTC (rev 4508)
@@ -8070,21 +8070,22 @@
   <p>All <span>HTML elements</span> may have the <code
   title="attr-style">style</code> content attribute set. If specified,
   the attribute must contain only a list of zero or more
-  semicolon-separated (;) CSS declarations. <a
-  href="#refsCSS">[CSS]</a></p>
+  semicolon-separated (;) CSS declarations, matching the CSS Style
+  Attribute <code title="">inline-stylesheet</code> production. <a
+  href="#refsCSSATTR">[CSSATTR]</a></p>
 
   <div class="impl">
 
   <p>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 <span
+  parsed when the attribute is added or has its value changed,
+  according to the rules given for CSS Style Attributes. All <span
   title="URL">URLs</span> in the value must be <span title="resolve a
   url">resolved</span> relative to the element when the attribute is
   parsed.<!-- so dynamic changes to the base URL don't affect the CSS
   --> For the purposes of the CSS cascade, the attribute must be
-  considered to be a 'style' attribute at the author level.</p>
+  considered to be a 'style' attribute at the author level, as defined
+  by the rules given for CSS Style Attributes. <a
+  href="#refsCSSATTR">[CSSATTR]</a></p>
 
   </div>
 
@@ -96131,6 +96132,8 @@
   <p>All references are normative unless marked "Non-normative".</p>
 <!--START vocabs--><!--START vCard--><!--START vEvent--><!--START work-->
 
+<!-- XXX really should remove dates and version numbers from these references once and for all -->
+
   <dl>
 <!--REFERENCES ON-->
 
@@ -96242,6 +96245,11 @@
    Revision 1</a></cite>, B. Bos, T. Çelik, I.
    Hickson, H. Lie. W3C, April 2009.</dd>
 
+   <dt id="refsCSSATTR">[CSSATTR]</dt>
+   <dd><cite><a href="http://dev.w3.org/csswg/css-style-attr/">CSS
+   Style Attribute Syntax</a></cite>, E. Etemad. W3C, December
+   2009.</dd>
+
    <dt id="refsCSSCOLOR">[CSSCOLOR]</dt>
    <!--
    <dd><cite><a href="http://www.w3.org/TR/css3-color/">CSS Color

Modified: vocabs-index
===================================================================
--- vocabs-index	2010-01-06 06:07:20 UTC (rev 4507)
+++ vocabs-index	2010-01-06 07:44:57 UTC (rev 4508)
@@ -47,7 +47,7 @@
 
   <header class="head"><p><a class="logo" href="http://www.whatwg.org/" rel="home"><img alt="WHATWG" src="/images/logo"></a></p>
    <hgroup><h1>Microdata Vocabularies: vCard, vEvent, and works</h1>
-    <h2 class="no-num no-toc">Draft Standard — 11 December 2009</h2>
+    <h2 class="no-num no-toc">Draft Standard — 6 January 2010</h2>
    </hgroup><p>You can take part in this work. <a href="http://www.whatwg.org/mailing-list">Join the working group's discussion list.</a></p>
    <dl><dt>This specification:</dt>
     <dd><a href="http://www.whatwg.org/specs/web-apps/current-work/">http://www.whatwg.org/specs/web-apps/current-work/</a></dd>
@@ -2793,6 +2793,8 @@
   <h2 class="no-num" id="references">References</h2><!--REFS-->
 
 
+<!-- XXX really should remove dates and version numbers from these references once and for all -->
+
   <dl><dt id="refsE163">[E163]</dt>
    <dd><cite>Recommendation E.163 — Numbering Plan for The International
    Telephone Service</cite>, CCITT Blue Book, Fascicle II.2, pp. 128-134, November




More information about the Commit-Watchers mailing list