spec/Overview.html 1.1879 2709 Abstract out the determination of the ba

Abstract out the determination of the base URL from the resolving-a
-relative-URL section; remove the resolving step from the navigating and
fetching algorithms; make the base URI used for relative URL resolution
by scripts be set by the first script that is running, not the last.
(whatwg r2709)

If the Document is being loaded as part of navigation of a browsing context, then: if the newly created element has a manifest attribute, then resolve the value of that attribute to an absolute URL, relative to the newly created element, and if that is successful, run the application cache selection algorithm with the resulting absolute URL; otherwise, if there is no such attribute or resolving it fails, run the application cache selection algorithm with no manifest. The algorithm must be passed the Document object.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1879.html#parser-appcache
Editor's Draft 27 January 2009
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1879.html#editor-s-draft-date-zzz-9-june-2008
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1879.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1879.html#status-of-this-document
8.2.5.5 The "before html" insertion mode
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1879.html#the-before-html-insertion-mode

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1878&r2=1.1879&f=h
http://html5.org/tools/web-apps-tracker?from=2708&to=2709

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1878
retrieving revision 1.1879
diff -u -d -r1.1878 -r1.1879
--- Overview.html 24 Jan 2009 05:07:23 -0000 1.1878
+++ Overview.html 27 Jan 2009 02:40:02 -0000 1.1879
@@ -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-->24 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-->27 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.
[...1186 lines suppressed...]
+    <a href=#current-script-base-url>current script base URL</a> either fails or results in a
     <a href=#url>URL</a> with a <code title=url-host-specific><a href=#url-host-specific>&lt;host-specific&gt;</a></code> component
     that is neither empty nor a single U+002F SOLIDUS character (/),
     then throw a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception and abort the
@@ -40216,10 +40290,11 @@
 
     <p id=parser-appcache>If the <code>Document</code> is being
     loaded as part of <a href=#navigate title=navigate>navigation</a> of a
-    <a href=#browsing-context>browsing context</a>, then: if the token has an attribute
-    "manifest", then <a href=#resolve-a-url title="resolve a url">resolve</a> the
-    value of that attribute to an <a href=#absolute-url>absolute URL</a>, and if
-    that is successful, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
+    <a href=#browsing-context>browsing context</a>, then: if the newly created element
+    has a <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute,
+    then <a href=#resolve-a-url title="resolve a url">resolve</a> the value of that
+    attribute to an <a href=#absolute-url>absolute URL</a>, relative to the newly
+    created element, and if that is successful, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
     algorithm</a> with the resulting <a href=#absolute-url>absolute URL</a>;
     otherwise, if there is no such attribute or resolving it fails,
     run the <a href=#concept-appcache-init title=concept-appcache-init>application cache

Received on Tuesday, 27 January 2009 02:44:07 UTC