W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2010

microdata; hixie: Allow getElementsByClassName() etc to cache results if desired. (this can result in script-detectable cache-sensitive behaviour, but is a massive performance win. Let's hope nobody ever depends on this.) (whatwg r4856)

From: poot <cvsmail@w3.org>
Date: Thu, 18 Mar 2010 08:24:34 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100317232434.691792BC06@toro.w3.mag.keio.ac.jp>
microdata; hixie: Allow getElementsByClassName() etc to cache results if
desired. (this can result in script-detectable cache-sensitive
behaviour, but is a massive performance win. Let's hope nobody ever
depends on this.) (whatwg r4856)

http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.49&r2=1.50&f=h
http://html5.org/tools/web-apps-tracker?from=4855&to=4856

===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- Overview.html	4 Mar 2010 07:07:14 -0000	1.49
+++ Overview.html	17 Mar 2010 23:24:09 -0000	1.50
@@ -1391,11 +1391,11 @@
   are no tokens specified in the argument, or if the argument is
   missing, then the method must return a <code>NodeList</code>
   containing all the <a href="#top-level-microdata-items">top-level microdata items</a> in the
-  document.  A new <code>NodeList</code> object must be returned each
-  time unless the argument is the same as the last time the method was
-  invoked on this <code>Document</code> object, in which case the
-  object must be the same as the object returned by the previous
-  call.</p>
+  document.
+  When the method is invoked on a <code>Document</code> object again
+  with the same argument, the user agent may return the same object as
+  the object returned by the earlier call. In other cases, a new
+  <code>NodeList</code> object must be returned.</p>
 
   <p>The <dfn id="dom-itemscope" title="dom-itemScope"><code>itemScope</code></dfn> IDL
   attribute on <span>HTML elements</span> must <a href="#reflect">reflect</a>
Received on Wednesday, 17 March 2010 23:25:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT