Skip to content

Commit

Permalink
[e] (0) Change to referencing CSSATTR instead of CSS for style=''.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8472

git-svn-id: http://svn.whatwg.org/webapps@4508 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 6, 2010
1 parent f77c6d8 commit 1bc43ba
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 20 deletions.
19 changes: 13 additions & 6 deletions complete.html
Expand Up @@ -8137,19 +8137,19 @@ <h5 id=the-style-attribute><span class=secno>3.2.3.7 </span>The <dfn title=attr-

<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>

Expand Down Expand Up @@ -85991,6 +85991,8 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
<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,
Expand Down Expand Up @@ -86085,6 +86087,11 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Revision 1</a></cite>, B. Bos, T. &Ccedil;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
Expand Down
19 changes: 13 additions & 6 deletions index
Expand Up @@ -7972,19 +7972,19 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>

<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>

Expand Down Expand Up @@ -77756,6 +77756,8 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<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,
Expand Down Expand Up @@ -77850,6 +77852,11 @@ interface <a href=#htmldocument>HTMLDocument</a> {
Revision 1</a></cite>, B. Bos, T. &Ccedil;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
Expand Down
22 changes: 15 additions & 7 deletions source
Expand Up @@ -8070,21 +8070,22 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
<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>

Expand Down Expand Up @@ -96131,6 +96132,8 @@ interface <span>HTMLDocument</span> {
<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-->

Expand Down Expand Up @@ -96242,6 +96245,11 @@ interface <span>HTMLDocument</span> {
Revision 1</a></cite>, B. Bos, T. &Ccedil;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
Expand Down
4 changes: 3 additions & 1 deletion vocabs-index
Expand Up @@ -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 &mdash; 11 December 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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>
Expand Down Expand Up @@ -2793,6 +2793,8 @@ END:VCARD</pre>
<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 &mdash; Numbering Plan for The International
Telephone Service</cite>, CCITT Blue Book, Fascicle II.2, pp. 128-134, November
Expand Down

0 comments on commit 1bc43ba

Please sign in to comment.