hixie: Rename PropertyNodeList.content to .contents to avoid confusion with HTMLElement.content. (whatwg r3435)

hixie: Rename PropertyNodeList.content to .contents to avoid confusion
with HTMLElement.content. (whatwg r3435)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2560&r2=1.2561&f=h
http://html5.org/tools/web-apps-tracker?from=3434&to=3435

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2560
retrieving revision 1.2561
diff -u -d -r1.2560 -r1.2561
--- Overview.html 17 Jul 2009 01:09:31 -0000 1.2560
+++ Overview.html 17 Jul 2009 01:11:59 -0000 1.2561
@@ -5282,7 +5282,7 @@
 typedef sequence&lt;any&gt; <dfn id="propertyvaluearray">PropertyValueArray</dfn>;
 
 interface <dfn id="propertynodelist">PropertyNodeList</dfn> : <span>NodeList</span> {
-          attribute <a href="#propertyvaluearray">PropertyValueArray</a> <a href="#dom-propertynodelist-content" title="dom-PropertyNodeList-content">content</a>;
+          attribute <a href="#propertyvaluearray">PropertyValueArray</a> <a href="#dom-propertynodelist-contents" title="dom-PropertyNodeList-contents">contents</a>;
 };</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLPropertyCollection-length"><a href="#dom-htmlpropertycollection-length">length</a></code></dt>
    <dd>
     <p>Returns the number of elements in the collection.</p>
@@ -5307,7 +5307,7 @@
     <p>Returns a <code><a href="#propertynodelist">PropertyNodeList</a></code> object containing any elements that add a property named <var title="">name</var>.</p>
    </dd>
 
-   <dt><var title="">propertyNodeList</var> . <var title="">content</var></dt>
+   <dt><var title="">propertyNodeList</var> . <code title="dom-PropertyNodeList-contents"><a href="#dom-propertynodelist-contents">contents</a></code></dt>
    <dd>
     <p>Returns an array of the various values that the relevant elements have.</p>
    </dd>
@@ -5353,7 +5353,7 @@
   inherited from the <code>NodeList</code> interface must behave as
   they would on a <code>NodeList</code> object.</p>
 
-  <p>The <dfn id="dom-propertynodelist-content" title="dom-PropertyNodeList-content"><code>content</code></dfn> DOM
+  <p>The <dfn id="dom-propertynodelist-contents" title="dom-PropertyNodeList-contents"><code>contents</code></dfn> DOM
   attribute on the <code><a href="#propertynodelist">PropertyNodeList</a></code> object, on getting,
   must return a newly constructed <code>DOMStringArray</code> whose
   values are the values obtained from the <code title="dom-content"><a href="#dom-content">content</a></code> DOM property of each of the
@@ -36840,15 +36840,15 @@
   name in this way, actually returns a <code><a href="#propertynodelist">PropertyNodeList</a></code>
   object with all the matching properties. The
   <code><a href="#propertynodelist">PropertyNodeList</a></code> object can be used to obtained all the
-  values at once using <em>its</em> <code title="dom-PropertyNodeList-content"><a href="#dom-propertynodelist-content">content</a></code> attribute, which
-  returns an array of all the values.<div class="example">
+  values at once using <em>its</em> <code title="dom-PropertyNodeList-contents"><a href="#dom-propertynodelist-contents">contents</a></code> attribute,
+  which returns an array of all the values.<div class="example">
 
    <p>In an earlier example, a "com.example.feline" item had two
    "com.example.color" values. This script looks up the first such
    item and then lists all its values.</p>
 
    <pre>var cat = getItems('com.example.feline')[0];
-var colors = cat.properties['com.example.color'].content;
+var colors = cat.properties['com.example.color'].contents;
 var result;
 if (colors.length == 0) {
   result = 'Color unknown.';
@@ -38828,7 +38828,7 @@
   var calendar = 'BEGIN:VCALENDAR\r\nPRODID:HTML\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nDTSTAMP:' + stampString + '\r\n';
   for (var propIndex = 0; propIndex &lt; node.properties.length; propIndex += 1) {
     var prop = node.properties[propIndex];
-    var value = prop.content;
+    var value = prop.contents;
     var parameters = '';
     if (prop.localName == 'time') {
       value = value.replace(/[:-]/g, '');

Received on Friday, 17 July 2009 01:13:59 UTC