[html5] r1049 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 11 15:54:00 PDT 2007


Author: ianh
Date: 2007-10-11 15:53:55 -0700 (Thu, 11 Oct 2007)
New Revision: 1049

Modified:
   index
   source
Log:
[] (0) ApplicationCache: Make sure 'length' is well-defined; clarify a note in swapCache() that was supposed to clarify matters.

Modified: index
===================================================================
--- index	2007-10-11 22:42:54 UTC (rev 1048)
+++ index	2007-10-11 22:53:55 UTC (rev 1049)
@@ -27006,10 +27006,12 @@
   </dl>
 
   <p>The <dfn id=length6 title=dom-appcache-length><code>length</code></dfn>
-   attribute must return the number of entries in the <a
+   attribute must return the number of <a href="#dynamic3"
+   title=concept-appcache-dynamic>dynamic entries</a> in the <a
    href="#application0">application cache</a> with which the <code><a
    href="#applicationcache">ApplicationCache</a></code> object is associated,
-   if any, and zero the object is not associated with any application cache.
+   if any, and zero if the object is not associated with any application
+   cache.
 
   <p>The <a href="#dynamic3" title=concept-appcache-dynamic>dynamic
    entries</a> in the <a href="#application0">application cache</a> are
@@ -27126,8 +27128,10 @@
     <p class=note>This is not the same thing as the <code><a
      href="#applicationcache">ApplicationCache</a></code> object being itself
      associated with an <a href="#application0">application cache</a>! In
-     particular, this can only happen if <var title="">document</var> is in a
-     <a href="#top-level">top-level browsing context</a>.</p>
+     particular, the <code>Document</code> with which the <code><a
+     href="#applicationcache">ApplicationCache</a></code> object is
+     associated can only itself be associated with an application cache if it
+     is in a <a href="#top-level">top-level browsing context</a>.</p>
 
    <li>
     <p>Let <var title="">cache</var> be the <a

Modified: source
===================================================================
--- source	2007-10-11 22:42:54 UTC (rev 1048)
+++ source	2007-10-11 22:53:55 UTC (rev 1049)
@@ -24664,10 +24664,11 @@
   </dl>
 
   <p>The <dfn title="dom-appcache-length"><code>length</code></dfn>
-  attribute must return the number of entries in the <span>application
-  cache</span> with which the <code>ApplicationCache</code> object is
-  associated, if any, and zero the object is not associated with any
-  application cache.</p>
+  attribute must return the number of <span
+  title="concept-appcache-dynamic">dynamic entries</span> in the
+  <span>application cache</span> with which the
+  <code>ApplicationCache</code> object is associated, if any, and zero
+  if the object is not associated with any application cache.</p>
 
   <p>The <span title="concept-appcache-dynamic">dynamic entries</span>
   in the <span>application cache</span> are ordered in the same order
@@ -24770,8 +24771,8 @@
   <ol>
 
    <li><p>Let <var title="">document</var> be the
-    <code>Document</code> with which the <code>ApplicationCache</code>
-    object is associated.</p></li>
+   <code>Document</code> with which the <code>ApplicationCache</code>
+   object is associated.</p></li>
 
    <li>
 
@@ -24782,9 +24783,11 @@
 
     <p class="note">This is not the same thing as the
     <code>ApplicationCache</code> object being itself associated with
-    an <span>application cache</span>! In particular, this can only
-    happen if <var title="">document</var> is in a <span>top-level
-    browsing context</span>.</p>
+    an <span>application cache</span>! In particular, the
+    <code>Document</code> with which the <code>ApplicationCache</code>
+    object is associated can only itself be associated with an
+    application cache if it is in a <span>top-level browsing
+    context</span>.</p>
 
    </li>
 




More information about the Commit-Watchers mailing list