- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 22 Sep 2009 01:17:09 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv15043 Modified Files: Overview.html acknowledgements.html browsers.html comms.html dom.html editing.html embedded-content-0.html forms.html history.html iana-considerations.html index.html infrastructure.html interactive-elements.html introduction.html microdata.html named-character-references.html no.html obsolete.html offline.html references.html semantics.html spec.html syntax.html tabular-data.html text-level-semantics.html the-canvas-element.html the-xhtml-syntax.html video.html Log Message: Try to clarify fallback entries. It's not entirely clear that I did an acceptable job here, but it's a start. (whatwg r3952) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- infrastructure.html 22 Sep 2009 00:36:52 -0000 1.207 +++ infrastructure.html 22 Sep 2009 01:17:06 -0000 1.208 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="introduction.html">← 1 Introduction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.205 retrieving revision 1.206 diff -u -d -r1.205 -r1.206 --- text-level-semantics.html 22 Sep 2009 00:36:52 -0000 1.205 +++ text-level-semantics.html 22 Sep 2009 01:17:07 -0000 1.206 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="semantics.html">← 4 The elements of HTML</a> – <a href="Overview.html#contents">Table of contents</a> – Index: history.html =================================================================== RCS file: /sources/public/html5/spec-author-view/history.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- history.html 22 Sep 2009 00:36:52 -0000 1.207 +++ history.html 22 Sep 2009 01:17:06 -0000 1.208 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="offline.html">← 6.7 Offline Web applications</a> – <a href="Overview.html#contents">Table of contents</a> – Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- tabular-data.html 22 Sep 2009 00:36:52 -0000 1.206 +++ tabular-data.html 22 Sep 2009 01:17:07 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="the-canvas-element.html">← 4.8.11 The canvas element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: microdata.html =================================================================== RCS file: /sources/public/html5/spec-author-view/microdata.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- microdata.html 22 Sep 2009 00:36:52 -0000 1.206 +++ microdata.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="interactive-elements.html">← 4.11 Interactive elements</a> – <a href="Overview.html#contents">Table of contents</a> – Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- Overview.html 22 Sep 2009 00:36:51 -0000 1.206 +++ Overview.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -240,7 +240,7 @@ </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>. -This is revision 1.3113. +This is revision 1.3114. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009 <a href="http://www.w3.org/"><abbr title="World Wide Index: embedded-content-0.html =================================================================== RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- embedded-content-0.html 22 Sep 2009 00:36:52 -0000 1.206 +++ embedded-content-0.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> – <a href="Overview.html#contents">Table of contents</a> – Index: dom.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dom.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- dom.html 22 Sep 2009 00:36:52 -0000 1.207 +++ dom.html 22 Sep 2009 01:17:06 -0000 1.208 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="infrastructure.html">← 2 Common infrastructure</a> – <a href="Overview.html#contents">Table of contents</a> – Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- acknowledgements.html 22 Sep 2009 00:36:51 -0000 1.206 +++ acknowledgements.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -217,7 +217,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="references.html">← References</a> – <a href="Overview.html#contents">Table of contents</a> Index: the-canvas-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- the-canvas-element.html 22 Sep 2009 00:36:53 -0000 1.206 +++ the-canvas-element.html 22 Sep 2009 01:17:07 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="video.html">← 4.8.7 The video element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: iana-considerations.html =================================================================== RCS file: /sources/public/html5/spec-author-view/iana-considerations.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- iana-considerations.html 22 Sep 2009 00:36:52 -0000 1.206 +++ iana-considerations.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="no.html">← 12 Things that you can't do with this specification because they are better handled using other technologies that are further described herein</a> – <a href="Overview.html#contents">Table of contents</a> – Index: forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/forms.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- forms.html 22 Sep 2009 00:36:52 -0000 1.206 +++ forms.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="tabular-data.html">← 4.9 Tabular data</a> – <a href="Overview.html#contents">Table of contents</a> – Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- interactive-elements.html 22 Sep 2009 00:36:52 -0000 1.206 +++ interactive-elements.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="forms.html">← 4.10 Forms</a> – <a href="Overview.html#contents">Table of contents</a> – Index: editing.html =================================================================== RCS file: /sources/public/html5/spec-author-view/editing.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- editing.html 22 Sep 2009 00:36:52 -0000 1.206 +++ editing.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="history.html">← 6.8 Session history and navigation</a> – <a href="Overview.html#contents">Table of contents</a> – Index: video.html =================================================================== RCS file: /sources/public/html5/spec-author-view/video.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- video.html 22 Sep 2009 00:36:53 -0000 1.206 +++ video.html 22 Sep 2009 01:17:07 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="text-level-semantics.html">← 4.6 Text-level semantics</a> – <a href="Overview.html#contents">Table of contents</a> – Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/browsers.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- browsers.html 22 Sep 2009 00:36:51 -0000 1.207 +++ browsers.html 22 Sep 2009 01:17:06 -0000 1.208 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="microdata.html">← 5 Microdata</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-xhtml-syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v retrieving revision 1.205 retrieving revision 1.206 diff -u -d -r1.205 -r1.206 --- the-xhtml-syntax.html 22 Sep 2009 00:36:53 -0000 1.205 +++ the-xhtml-syntax.html 22 Sep 2009 01:17:07 -0000 1.206 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="named-character-references.html">← 9.2 Named character references</a> – <a href="Overview.html#contents">Table of contents</a> – Index: offline.html =================================================================== RCS file: /sources/public/html5/spec-author-view/offline.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- offline.html 22 Sep 2009 00:36:52 -0000 1.206 +++ offline.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="browsers.html">← 6 Web browsers</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -374,7 +374,29 @@ # here is another set of files to cache, this time just the CSS file. CACHE: -style/default.css</pre><h5 id="writing-cache-manifests"><span class="secno">6.7.2.2 </span>Writing cache manifests</h5><p>Manifests must be served using the +style/default.css</pre><p>It could equally well be written as follows:</p><pre>CACHE MANIFEST +NETWORK: +comm.cgi +CACHE: +style/default.css +images/sound-icon.png +images/background.png</pre><hr><p>The following manifest defines a catch-all error page that is + displayed for any page on the site while the user is offline. It + also specifies that the <a href="#concept-appcache-onlinewhitelist-wildcard" title="concept-appcache-onlinewhitelist-wildcard">online whitelist + wildcard flag</a> is <i title="">open</i>, meaning that accesses + to resources on other sites will not be blocked. (Resources on the + same site are already not blocked because of the catch-all fallback + namespace.)</p><p>So long as all pages on the site reference this manifest, they + will get cached locally as they are fetched, so that subsequent hits + to the same page will load the page immediately from the + cache. Until the manifest is changed, those pages will not be + fetched from the server again. When the manifest changes, then all + the files will be redownloaded.</p><p>Subresources, such as style sheets, images, etc, would only be + cached using the regular HTTP caching semantics, however.</p><pre>CACHE MANIFEST +FALLBACK: +/ /offline.html +NETWORK: +*</pre><h5 id="writing-cache-manifests"><span class="secno">6.7.2.2 </span>Writing cache manifests</h5><p>Manifests must be served using the <code><a href="iana-considerations.html#text-cache-manifest">text/cache-manifest</a></code> <a href="infrastructure.html#mime-type">MIME type</a>. All resources served using the <code><a href="iana-considerations.html#text-cache-manifest">text/cache-manifest</a></code> <a href="infrastructure.html#mime-type">MIME type</a> must follow the syntax of application cache @@ -418,13 +440,13 @@ possible section headers: </p><dl><dt><code>CACHE:</code> - </dt><dd>Switches to the explicit section. + </dt><dd>Switches to the <dfn id="concept-appcache-manifest-explicit" title="concept-appcache-manifest-explicit">explicit section</dfn>. </dd><dt><code>FALLBACK:</code> - </dt><dd>Switches to the fallback section. + </dt><dd>Switches to the <dfn id="concept-appcache-manifest-fallback" title="concept-appcache-manifest-fallback">fallback section</dfn>. </dd><dt><code>NETWORK:</code> - </dt><dd>Switches to the online whitelist section. + </dt><dd>Switches to the <dfn id="concept-appcache-manifest-network" title="concept-appcache-manifest-network">online whitelist section</dfn>. </dd></dl><p>Section header lines must consist of zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters, followed by one @@ -432,37 +454,39 @@ followed by zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters.</p> - <p>Ironically, by default, the current section is the explicit - section.</p> + <p>Ironically, by default, the current section is the + <a href="#concept-appcache-manifest-explicit" title="concept-appcache-manifest-explicit">explicit section</a>.</p> </dd><dt>Data for the current section </dt><dd> <p>The format that data lines must take depends on the current section.</p> - <p>When the current section is the explicit section, data lines - must consist of zero or more U+0020 SPACE and U+0009 CHARACTER - TABULATION (tab) characters, a <a href="infrastructure.html#valid-url">valid URL</a> identifying - a resource other than the manifest itself, and then zero or more - U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters.</p> + <p>When the current section is the <a href="#concept-appcache-manifest-explicit" title="concept-appcache-manifest-explicit">explicit + section</a>, data lines must consist of zero or more U+0020 + SPACE and U+0009 CHARACTER TABULATION (tab) characters, a + <a href="infrastructure.html#valid-url">valid URL</a> identifying a resource other than the + manifest itself, and then zero or more U+0020 SPACE and U+0009 + CHARACTER TABULATION (tab) characters.</p> - <p>When the current section is the online whitelist section, data - lines must consist of zero or more U+0020 SPACE and U+0009 - CHARACTER TABULATION (tab) characters, either a single U+002A - ASTERISK character (*) <!-- + <p>When the current section is the <a href="#concept-appcache-manifest-network" title="concept-appcache-manifest-network">online whitelist + section</a>, data lines must consist of zero or more U+0020 + SPACE and U+0009 CHARACTER TABULATION (tab) characters, either a + single U+002A ASTERISK character (*) <!-- concept-appcache-onlinewhitelist-wildcard --> or a <a href="infrastructure.html#valid-url">valid URL</a> identifying a resource other than the manifest itself, and then zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters.</p> - <p>When the current section is the fallback section, data lines - must consist of zero or more U+0020 SPACE and U+0009 CHARACTER - TABULATION (tab) characters, a <a href="infrastructure.html#valid-url">valid URL</a> identifying - a resource other than the manifest itself, one or more U+0020 - SPACE and U+0009 CHARACTER TABULATION (tab) characters, another + <p>When the current section is the <a href="#concept-appcache-manifest-fallback" title="concept-appcache-manifest-fallback">fallback + section</a>, data lines must consist of zero or more U+0020 + SPACE and U+0009 CHARACTER TABULATION (tab) characters, a <a href="infrastructure.html#valid-url">valid URL</a> identifying a resource other than the - manifest itself, and then zero or more U+0020 SPACE and U+0009 - CHARACTER TABULATION (tab) characters.</p> + manifest itself, one or more U+0020 SPACE and U+0009 CHARACTER + TABULATION (tab) characters, another <a href="infrastructure.html#valid-url">valid URL</a> + identifying a resource other than the manifest itself, and then + zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) + characters.</p> <p class="note">The URLs in data lines can't be empty strings, since those would be relative URLs to the manifest itself. Such @@ -470,19 +494,20 @@ </dd></dl><p>Manifests may contain sections more than once. Sections may be empty.</p><p>URLs that are to be fallback pages associated with <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback namespaces</a>, and - those namespaces themselves, must be given in fallback sections, + those namespaces themselves, must be given in <a href="#concept-appcache-manifest-fallback" title="concept-appcache-manifest-fallback">fallback sections</a>, with the namespace being the first URL of the data line, and the corresponding fallback page being the second URL. All the other - pages to be cached must be listed in explicit sections.</p><p><a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">Fallback + pages to be cached must be listed in <a href="#concept-appcache-manifest-explicit" title="concept-appcache-manifest-explicit">explicit + sections</a>.</p><p><a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">Fallback namespaces</a> and <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entries</a> must have the <a href="#same-origin">same origin</a> as the manifest itself.</p><p>A <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback namespace</a> must not be listed more than once.</p><p>URLs that the user agent is to put into the <a href="#concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online whitelist</a> - must all be specified in online whitelist sections. (This is needed - for any URL that the page is intending to use to communicate back to - the server.) To specify that all URLs are automatically whitelisted - in this way, a U+002A ASTERISK character (*) character may be - specified as one of the URLs. <!-- - concept-appcache-onlinewhitelist-wildcard --></p><p>Relative URLs must be given relative to the manifest's own + must all be specified in <a href="#concept-appcache-manifest-network" title="concept-appcache-manifest-network">online whitelist + sections</a>. (This is needed for any URL that the page is + intending to use to communicate back to the server.) To specify that + all URLs are automatically whitelisted in this way, a U+002A + ASTERISK character (*) character may be specified as one of the + URLs. <!-- concept-appcache-onlinewhitelist-wildcard --></p><p>Relative URLs must be given relative to the manifest's own URL. All URLs in the manifest must have the same <a href="#url-scheme" title="url-scheme"><scheme></a> as the manifest itself (either explicitly or implicitly, through the use of relative URLs).</p><p>URLs in manifests must not have fragment identifiers (i.e. the Index: syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/syntax.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- syntax.html 22 Sep 2009 00:36:52 -0000 1.207 +++ syntax.html 22 Sep 2009 01:17:07 -0000 1.208 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="comms.html">← 8 Communication</a> – <a href="Overview.html#contents">Table of contents</a> – Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec-author-view/obsolete.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- obsolete.html 22 Sep 2009 00:36:52 -0000 1.207 +++ obsolete.html 22 Sep 2009 01:17:06 -0000 1.208 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: named-character-references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- named-character-references.html 22 Sep 2009 00:36:52 -0000 1.207 +++ named-character-references.html 22 Sep 2009 01:17:06 -0000 1.208 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="syntax.html">← 9 The HTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/references.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- references.html 22 Sep 2009 00:36:52 -0000 1.206 +++ references.html 22 Sep 2009 01:17:07 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="index.html">← Index</a> – <a href="Overview.html#contents">Table of contents</a> – Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/semantics.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- semantics.html 22 Sep 2009 00:36:52 -0000 1.206 +++ semantics.html 22 Sep 2009 01:17:07 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> – <a href="Overview.html#contents">Table of contents</a> – Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- index.html 22 Sep 2009 00:36:52 -0000 1.206 +++ index.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="iana-considerations.html">← IANA considerations</a> – <a href="Overview.html#contents">Table of contents</a> – Index: comms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/comms.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- comms.html 22 Sep 2009 00:36:51 -0000 1.206 +++ comms.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="editing.html">← 7 User Interaction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- spec.html 22 Sep 2009 00:36:52 -0000 1.207 +++ spec.html 22 Sep 2009 01:17:07 -0000 1.208 @@ -238,7 +238,7 @@ </dl><p>This specification is available in the following formats: <a href=spec.html>single page HTML</a>, <a href=Overview.html>multipage HTML</a>. -This is revision 1.3113. +This is revision 1.3114. </p> <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2009 <a href=http://www.w3.org/><abbr title="World Wide @@ -23096,7 +23096,29 @@ # here is another set of files to cache, this time just the CSS file. CACHE: -style/default.css</pre><h5 id=writing-cache-manifests><span class=secno>6.7.2.2 </span>Writing cache manifests</h5><p>Manifests must be served using the +style/default.css</pre><p>It could equally well be written as follows:</p><pre>CACHE MANIFEST +NETWORK: +comm.cgi +CACHE: +style/default.css +images/sound-icon.png +images/background.png</pre><hr><p>The following manifest defines a catch-all error page that is + displayed for any page on the site while the user is offline. It + also specifies that the <a href=#concept-appcache-onlinewhitelist-wildcard title=concept-appcache-onlinewhitelist-wildcard>online whitelist + wildcard flag</a> is <i title="">open</i>, meaning that accesses + to resources on other sites will not be blocked. (Resources on the + same site are already not blocked because of the catch-all fallback + namespace.)</p><p>So long as all pages on the site reference this manifest, they + will get cached locally as they are fetched, so that subsequent hits + to the same page will load the page immediately from the + cache. Until the manifest is changed, those pages will not be + fetched from the server again. When the manifest changes, then all + the files will be redownloaded.</p><p>Subresources, such as style sheets, images, etc, would only be + cached using the regular HTTP caching semantics, however.</p><pre>CACHE MANIFEST +FALLBACK: +/ /offline.html +NETWORK: +*</pre><h5 id=writing-cache-manifests><span class=secno>6.7.2.2 </span>Writing cache manifests</h5><p>Manifests must be served using the <code><a href=#text-cache-manifest>text/cache-manifest</a></code> <a href=#mime-type>MIME type</a>. All resources served using the <code><a href=#text-cache-manifest>text/cache-manifest</a></code> <a href=#mime-type>MIME type</a> must follow the syntax of application cache @@ -23140,13 +23162,13 @@ possible section headers: </p><dl><dt><code>CACHE:</code> - </dt><dd>Switches to the explicit section. + </dt><dd>Switches to the <dfn id=concept-appcache-manifest-explicit title=concept-appcache-manifest-explicit>explicit section</dfn>. </dd><dt><code>FALLBACK:</code> - </dt><dd>Switches to the fallback section. + </dt><dd>Switches to the <dfn id=concept-appcache-manifest-fallback title=concept-appcache-manifest-fallback>fallback section</dfn>. </dd><dt><code>NETWORK:</code> - </dt><dd>Switches to the online whitelist section. + </dt><dd>Switches to the <dfn id=concept-appcache-manifest-network title=concept-appcache-manifest-network>online whitelist section</dfn>. </dd></dl><p>Section header lines must consist of zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters, followed by one @@ -23154,37 +23176,39 @@ followed by zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters.</p> - <p>Ironically, by default, the current section is the explicit - section.</p> + <p>Ironically, by default, the current section is the + <a href=#concept-appcache-manifest-explicit title=concept-appcache-manifest-explicit>explicit section</a>.</p> </dd><dt>Data for the current section </dt><dd> <p>The format that data lines must take depends on the current section.</p> - <p>When the current section is the explicit section, data lines - must consist of zero or more U+0020 SPACE and U+0009 CHARACTER - TABULATION (tab) characters, a <a href=#valid-url>valid URL</a> identifying - a resource other than the manifest itself, and then zero or more - U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters.</p> + <p>When the current section is the <a href=#concept-appcache-manifest-explicit title=concept-appcache-manifest-explicit>explicit + section</a>, data lines must consist of zero or more U+0020 + SPACE and U+0009 CHARACTER TABULATION (tab) characters, a + <a href=#valid-url>valid URL</a> identifying a resource other than the + manifest itself, and then zero or more U+0020 SPACE and U+0009 + CHARACTER TABULATION (tab) characters.</p> - <p>When the current section is the online whitelist section, data - lines must consist of zero or more U+0020 SPACE and U+0009 - CHARACTER TABULATION (tab) characters, either a single U+002A - ASTERISK character (*) <!-- + <p>When the current section is the <a href=#concept-appcache-manifest-network title=concept-appcache-manifest-network>online whitelist + section</a>, data lines must consist of zero or more U+0020 + SPACE and U+0009 CHARACTER TABULATION (tab) characters, either a + single U+002A ASTERISK character (*) <!-- concept-appcache-onlinewhitelist-wildcard --> or a <a href=#valid-url>valid URL</a> identifying a resource other than the manifest itself, and then zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters.</p> - <p>When the current section is the fallback section, data lines - must consist of zero or more U+0020 SPACE and U+0009 CHARACTER - TABULATION (tab) characters, a <a href=#valid-url>valid URL</a> identifying - a resource other than the manifest itself, one or more U+0020 - SPACE and U+0009 CHARACTER TABULATION (tab) characters, another + <p>When the current section is the <a href=#concept-appcache-manifest-fallback title=concept-appcache-manifest-fallback>fallback + section</a>, data lines must consist of zero or more U+0020 + SPACE and U+0009 CHARACTER TABULATION (tab) characters, a <a href=#valid-url>valid URL</a> identifying a resource other than the - manifest itself, and then zero or more U+0020 SPACE and U+0009 - CHARACTER TABULATION (tab) characters.</p> + manifest itself, one or more U+0020 SPACE and U+0009 CHARACTER + TABULATION (tab) characters, another <a href=#valid-url>valid URL</a> + identifying a resource other than the manifest itself, and then + zero or more U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) + characters.</p> <p class=note>The URLs in data lines can't be empty strings, since those would be relative URLs to the manifest itself. Such @@ -23192,19 +23216,20 @@ </dd></dl><p>Manifests may contain sections more than once. Sections may be empty.</p><p>URLs that are to be fallback pages associated with <a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>fallback namespaces</a>, and - those namespaces themselves, must be given in fallback sections, + those namespaces themselves, must be given in <a href=#concept-appcache-manifest-fallback title=concept-appcache-manifest-fallback>fallback sections</a>, with the namespace being the first URL of the data line, and the corresponding fallback page being the second URL. All the other - pages to be cached must be listed in explicit sections.</p><p><a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>Fallback + pages to be cached must be listed in <a href=#concept-appcache-manifest-explicit title=concept-appcache-manifest-explicit>explicit + sections</a>.</p><p><a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>Fallback namespaces</a> and <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> must have the <a href=#same-origin>same origin</a> as the manifest itself.</p><p>A <a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>fallback namespace</a> must not be listed more than once.</p><p>URLs that the user agent is to put into the <a href=#concept-appcache-onlinewhitelist title=concept-appcache-onlinewhitelist>online whitelist</a> - must all be specified in online whitelist sections. (This is needed - for any URL that the page is intending to use to communicate back to - the server.) To specify that all URLs are automatically whitelisted - in this way, a U+002A ASTERISK character (*) character may be - specified as one of the URLs. <!-- - concept-appcache-onlinewhitelist-wildcard --></p><p>Relative URLs must be given relative to the manifest's own + must all be specified in <a href=#concept-appcache-manifest-network title=concept-appcache-manifest-network>online whitelist + sections</a>. (This is needed for any URL that the page is + intending to use to communicate back to the server.) To specify that + all URLs are automatically whitelisted in this way, a U+002A + ASTERISK character (*) character may be specified as one of the + URLs. <!-- concept-appcache-onlinewhitelist-wildcard --></p><p>Relative URLs must be given relative to the manifest's own URL. All URLs in the manifest must have the same <a href=#url-scheme title=url-scheme><scheme></a> as the manifest itself (either explicitly or implicitly, through the use of relative URLs).</p><p>URLs in manifests must not have fragment identifiers (i.e. the Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec-author-view/introduction.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- introduction.html 22 Sep 2009 00:36:52 -0000 1.207 +++ introduction.html 22 Sep 2009 01:17:06 -0000 1.208 @@ -217,7 +217,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="Overview.html#contents">Table of contents</a> – <a href="infrastructure.html">2 Common infrastructure →</a> Index: no.html =================================================================== RCS file: /sources/public/html5/spec-author-view/no.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- no.html 22 Sep 2009 00:36:52 -0000 1.206 +++ no.html 22 Sep 2009 01:17:06 -0000 1.207 @@ -218,7 +218,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>HTML5</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> -<p>This is revision 1.3113.</p> +<p>This is revision 1.3114.</p> </div><div> <a href="obsolete.html">← 11 Obsolete features</a> – <a href="Overview.html#contents">Table of contents</a> –
Received on Tuesday, 22 September 2009 01:17:20 UTC