W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2009

html5/spec Overview.html,1.1882,1.1883

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 28 Jan 2009 01:23:47 +0000
To: public-html-commits@w3.org
Message-Id: <E1LRz9f-0002nM-3Z@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv10730

Modified Files:
	Overview.html 
Log Message:
Oops, recent changes made it impossible for an image to be served from a cache while top-level. Make it possible for anything that isn't HTML or XML to be served that way. (HTML and XML need the manifest='' attribute.) (credit: ap) (whatwg r2713)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1882
retrieving revision 1.1883
diff -u -d -r1.1882 -r1.1883
--- Overview.html	27 Jan 2009 23:22:51 -0000	1.1882
+++ Overview.html	28 Jan 2009 01:23:44 -0000	1.1883
@@ -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-->27 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-->28 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 27 January 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 28 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)
@@ -30857,14 +30857,16 @@
 
   </div><h4 id=the-application-cache-selection-algorithm><span class=secno>5.7.6 </span>The application cache selection algorithm</h4><p>When the <dfn id=concept-appcache-init title=concept-appcache-init>application cache
   selection algorithm</dfn> algorithm is invoked with a
-  <code>Document</code> <var title="">document</var> and optionally a
-  manifest <a href=#url>URL</a> <var title="">manifest URL</var>, the user
-  agent must run the first applicable set of steps from the following
-  list:<dl class=switch><dt>If <var title="">document</var> was loaded from an
-   <a href=#application-cache>application cache</a>, and there is no <var title="">manifest URL</var></dt>
+  <code>Document</code> <var title="">document</var>, a flag <var title="">document-is-markup</var> which can be true or false, and
+  optionally a manifest <a href=#url>URL</a> <var title="">manifest
+  URL</var>, the user agent must run the first applicable set of steps
+  from the following list:<dl class=switch><dt>If the flag <var title="">document-is-markup</var> is true, and
+   <var title="">document</var> was loaded from an <a href=#application-cache>application
+   cache</a>, and there is no <var title="">manifest URL</var></dt>
 
-   <dt>If <var title="">document</var> was loaded from an
-   <a href=#application-cache>application cache</a>, and the URL of the <a href=#concept-appcache-manifest title=concept-appcache-manifest>manifest</a> of that cache's
+   <dt>If the flag <var title="">document-is-markup</var> is true, If
+   <var title="">document</var> was loaded from an <a href=#application-cache>application
+   cache</a>, and the URL of the <a href=#concept-appcache-manifest title=concept-appcache-manifest>manifest</a> of that cache's
    <a href=#application-cache-group>application cache group</a> is <em>not</em> the same as
    <var title="">manifest URL</var></dt>
 
@@ -31834,12 +31836,14 @@
   into the document</a>, the user agent must <a href=#resolve-a-url title="resolve a
   url">resolve</a> the value of that attribute relative to that
   element, and if that is successful, must 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> as the
+  algorithm</a> with the <var title="">document-is-markup</var>
+  flag set to true, the resulting <a href=#absolute-url>absolute URL</a> as the
   manifest URL, and passing in the newly-created
   <code>Document</code>. Otherwise, if the attribute is absent or
   resolving it fails, then as soon as the root element is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into the
   document</a>, the user agent must run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
-  algorithm</a> with no manifest, passing in the
+  algorithm</a> with the <var title="">document-is-markup</var>
+  flag set to true, no manifest, and passing in the
   <code>Document</code>.<p class=note>Because the processing of the <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute happens
   only once the root element is parsed, any URLs referenced by
   processing instructions before the root element (such as <code title="">&lt;?xml-styleesheet?&gt;</code> and <code title="">&lt;?xbl?&gt;</code> PIs) will be fetched from the network and
@@ -31871,8 +31875,8 @@
   subsequent versions thereof. <a href=#references>[RFC2046]</a> <a href=#references>[RFC2646]</a><p>The <a href=#document-s-character-encoding>document's character encoding</a> must be set to the
   character encoding used to decode the document.<p>Upon creation of the <code>Document</code> object, the user agent
   must run the <a href=#concept-appcache-init title=concept-appcache-init>application cache
-  selection algorithm</a> with no manifest, passing in the
-  newly-created <code>Document</code>.</p><!-- next two paragraphs are nearly identical to the navigate-html
+  selection algorithm</a> with the <var title="">document-is-markup</var> flag set to false, no manifest,
+  and passing in the newly-created <code>Document</code>.</p><!-- next two paragraphs are nearly identical to the navigate-html
   section and similar to the "navigate-ua-inline" section, and the
   next three are similar to the navigate-image and navigate-plugin
   sections; keep them all in sync --><p>When no more character are available, an EOF character is
@@ -31893,8 +31897,8 @@
   keep them in sync --><p>Then, the user agent must act as if it had <a href=#stop-parsing title="stop
   parsing">stopped parsing</a>.<p>Upon creation of the <code>Document</code> object, the user agent
   must run the <a href=#concept-appcache-init title=concept-appcache-init>application cache
-  selection algorithm</a> with no manifest, passing in the
-  newly-created <code>Document</code>.<p>After creating the <code>Document</code> object, but potentially
+  selection algorithm</a> with the <var title="">document-is-markup</var> flag set to false, no manifest,
+  and passing in the newly-created <code>Document</code>.<p>After creating the <code>Document</code> object, but potentially
   before the page has finished fully loading, the user agent must
   <a href=#update-the-session-history-with-the-new-page>update the session history with the new page</a>.<p>User agents may add content to the <code><a href=#the-head-element>head</a></code> element of
   the <code>Document</code>, or attributes to the <code><a href=#the-img-element>img</a></code>
@@ -31911,8 +31915,8 @@
   keep them in sync --><p>Then, the user agent must act as if it had <a href=#stop-parsing title="stop
   parsing">stopped parsing</a>.<p>Upon creation of the <code>Document</code> object, the user agent
   must run the <a href=#concept-appcache-init title=concept-appcache-init>application cache
-  selection algorithm</a> with no manifest, passing in the
-  newly-created <code>Document</code>.<p>After creating the <code>Document</code> object, but potentially
+  selection algorithm</a> with the <var title="">document-is-markup</var> flag set to false, no manifest,
+  and passing in the newly-created <code>Document</code>.<p>After creating the <code>Document</code> object, but potentially
   before the page has finished fully loading, the user agent must
   <a href=#update-the-session-history-with-the-new-page>update the session history with the new page</a>.<p>User agents may add content to the <code><a href=#the-head-element>head</a></code> element of
   the <code>Document</code>, or attributes to the <code><a href=#the-embed-element>embed</a></code>
@@ -31930,8 +31934,8 @@
   keep them in sync --><p>Once the page has been set up, the user agent must act as if it
   had <a href=#stop-parsing title="stop parsing">stopped parsing</a>.<p>Upon creation of the <code>Document</code> object, the user agent
   must run the <a href=#concept-appcache-init title=concept-appcache-init>application cache
-  selection algorithm</a> with no manifest, passing in the
-  newly-created <code>Document</code>.<p>After creating the <code>Document</code> object, but potentially
+  selection algorithm</a> with the <var title="">document-is-markup</var> flag set to false, no manifest,
+  passing in the newly-created <code>Document</code>.<p>After creating the <code>Document</code> object, but potentially
   before the page has been completely set up, the user agent must
   <a href=#update-the-session-history-with-the-new-page>update the session history with the new page</a>.<h4 id=scroll-to-fragid><span class=secno>5.9.8 </span><dfn title=navigate-fragid>Navigating to a fragment identifier</dfn></h4><p>When a user agent is supposed to navigate to a fragment
   identifier, then the user agent must <a href=#update-the-session-history-with-the-new-page>update the session
@@ -40329,7 +40333,7 @@
     otherwise, if there is no such attribute or resolving it fails,
     run the <a href=#concept-appcache-init title=concept-appcache-init>application cache
     selection algorithm</a> with no manifest. The algorithm must be
-    passed the <code>Document</code> object.</p>
+    passed the <code>Document</code> object, and the <var title="">document-is-markup</var> flag must be set to true.</p>
 
     <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before head</a>".</p>
 
Received on Wednesday, 28 January 2009 01:23:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 January 2009 01:23:59 GMT