spec/Overview.html 1.1842 2672 Define that relative URLs in CSS in HTML

Define that relative URLs in CSS in HTML documents are not reresolved
when the base URL changes. (whatwg r2672)

Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#status-of-this-document
classList
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#dom-classlist
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
media
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#dom-style-media
The title attribute on style elements defines alternative style sheet sets. If the style element has no title attribute, then it has no title; the title attribute of ancestors does not apply to the style element.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#title-on-style
Editor's Draft 16 January 2009
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#editor-s-draft-date-zzz-9-june-2008
disabled
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#dom-style-disabled
3.3.3.7 The style attribute
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#the-style-attribute
delays the load event
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1842.html#delay-the-load-event

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1841&r2=1.1842&f=h
http://html5.org/tools/web-apps-tracker?from=2671&to=2672

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1841
retrieving revision 1.1842
diff -u -d -r1.1841 -r1.1842
--- Overview.html 15 Jan 2009 22:12:00 -0000 1.1841
+++ Overview.html 16 Jan 2009 00:54:27 -0000 1.1842
@@ -8,7 +8,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->15 January 2009</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->16 January 2009</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090610/">http://www.w3.org/TR/2009/WD-html5-20090610/</a></dd>
@@ -97,7 +97,7 @@
   specification's progress along the W3C Recommendation
   track.
   <!--ZZZ:-->
-  This specification is the 15 January 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 16 January 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -5713,12 +5713,15 @@
   <dfn id=dom-classlist title=dom-classList><code>classList</code></dfn> DOM
   attributes must both <a href=#reflect>reflect</a> the <code title=attr-class><a href=#classes>class</a></code> content attribute.<h5 id=the-style-attribute><span class=secno>3.3.3.7 </span>The <dfn title=attr-style><code>style</code></dfn> attribute</h5><p>All elements 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=#references>[CSS21]</a><p>The attribute, if specified, must be parsed and 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. For the purposes of the CSS cascade, the attribute
-  must be considered to be a 'style' attribute at the author
-  level.<p>Documents that use <code title=attr-style><a href=#the-style-attribute>style</a></code>
+  a list of zero or more semicolon-separated (;) CSS declarations. <a href=#references>[CSS21]</a><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
+  url">resolved</a> 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>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
   usable if those attributes were removed.<p class=note>In particular, using the <code title=attr-style><a href=#the-style-attribute>style</a></code> attribute to hide and show content,
   or to convey meaning that is otherwise not included in the document,
@@ -7802,7 +7805,10 @@
   <code><a href=#the-style-element>style</a></code> element (not any other nodes such as comments or
   elements), in <a href=#tree-order>tree order</a>, to the style system. For
   XML-based styling languages, user agents must pass all the children
-  nodes of the <code><a href=#the-style-element>style</a></code> element to the style system.<p class=note>This specification does not specify a style system,
+  nodes of the <code><a href=#the-style-element>style</a></code> element to the style system.<p>All <a href=#url title=URL>URLs</a> found by the styling language's
+  processor must be <a href=#resolve-a-url title="resolve a url">resolved</a> when
+  it is invoked.<!-- so dynamic changes to the base URL don't affect
+  the CSS --><p class=note>This specification does not specify a style system,
   but CSS is expected to be supported by most Web browsers. <a href=#references>[CSS21]</a><p>The <dfn id=dom-style-media title=dom-style-media><code>media</code></dfn>, <dfn id=dom-style-type title=dom-style-type><code>type</code></dfn> and <dfn id=dom-style-scoped title=dom-style-scoped><code>scoped</code></dfn> DOM attributes
   must <a href=#reflect>reflect</a> the respective content attributes of the
   same name.<p>The DOM <dfn id=dom-style-disabled title=dom-style-disabled><code>disabled</code></dfn> attribute
@@ -42716,7 +42722,7 @@
 
    <li><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-load-event title="fire a load
    event">fire a <code title=event-load>load</code> event</a> at
-   <a href=#the-body-element-1>the <code>body</code> element</a>.
+   <a href=#the-body-element-1>the <code>body</code> element</a>.</li>
 
    <li>If the <code>Document</code> has a <a href=#pending-state-object>pending state
    object</a>, then <a href=#queue-a-task>queue a task</a> to fire a <code title=event-popstate><a href=#event-popstate>popstate</a></code> event in no namespace on

Received on Friday, 16 January 2009 00:58:25 UTC