- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jan 2010 07:45:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20228
Modified Files:
Overview.html
Log Message:
Change to referencing CSSATTR instead of CSS for style=''. (whatwg r4508)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3606
retrieving revision 1.3607
diff -u -d -r1.3606 -r1.3607
--- Overview.html 6 Jan 2010 06:08:59 -0000 1.3606
+++ Overview.html 6 Jan 2010 07:45:38 -0000 1.3607
@@ -7192,17 +7192,17 @@
</div><h5 id="the-style-attribute"><span class="secno">3.2.3.7 </span>The <dfn title="attr-style"><code>style</code></dfn> attribute</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><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><div class="impl">
+ semicolon-separated (;) CSS declarations, matching the CSS Style
+ Attribute <code title="">inline-stylesheet</code> production. <a href="#refsCSSATTR">[CSSATTR]</a><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><p>Documents that use <code title="attr-style"><a href="#the-style-attribute">style</a></code>
attributes on any of their elements must still be comprehensible and
@@ -71007,7 +71007,7 @@
</table><p class="note">See also <a href="#mediaevents">media element
events</a>, <a href="#appcacheevents">application cache events</a>,
- and <a href="#dndevents">drag-and-drop events</a>.</p><!--START vCard--><!--START vEvent--><h2 class="no-num" id="references">References</h2><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><!--REFS--><!--END vCard--><!--END vEvent--><p>All references are normative unless marked "Non-normative".</p><!--START vCard--><!--START vEvent--><dl><dt id="refsABNF">[ABNF]</dt>
+ and <a href="#dndevents">drag-and-drop events</a>.</p><!--START vCard--><!--START vEvent--><h2 class="no-num" id="references">References</h2><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed</i></p><!--REFS--><!--END vCard--><!--END vEvent--><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,
P. Overell. IETF, January 2008.</dd>
@@ -71101,6 +71101,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
Received on Wednesday, 6 January 2010 07:45:43 UTC