[html5] r3435 - [] (0) Rename PropertyNodeList.content to .contents to avoid confusion with HTML [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Jul 16 18:11:54 PDT 2009
Author: ianh
Date: 2009-07-16 18:11:53 -0700 (Thu, 16 Jul 2009)
New Revision: 3435
Modified:
index
source
Log:
[] (0) Rename PropertyNodeList.content to .contents to avoid confusion with HTMLElement.content.
Modified: index
===================================================================
--- index 2009-07-17 01:09:25 UTC (rev 3434)
+++ index 2009-07-17 01:11:53 UTC (rev 3435)
@@ -5830,7 +5830,7 @@
typedef sequence<any> <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>
@@ -5857,7 +5857,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>
@@ -5903,7 +5903,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
@@ -41331,8 +41331,8 @@
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.</p>
+ 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.</p>
<div class=example>
@@ -41341,7 +41341,7 @@
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.';
@@ -43442,7 +43442,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 < 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, '');
Modified: source
===================================================================
--- source 2009-07-17 01:09:25 UTC (rev 3434)
+++ source 2009-07-17 01:11:53 UTC (rev 3435)
@@ -5684,7 +5684,7 @@
typedef sequence<any> <dfn>PropertyValueArray</dfn>;
interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {
- attribute <span>PropertyValueArray</span> <span title="dom-PropertyNodeList-content">content</span>;
+ attribute <span>PropertyValueArray</span> <span title="dom-PropertyNodeList-contents">contents</span>;
};</pre>
<dl class="domintro">
@@ -5713,7 +5713,7 @@
<p>Returns a <code>PropertyNodeList</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">contents</code></dt>
<dd>
<p>Returns an array of the various values that the relevant elements have.</p>
</dd>
@@ -5774,7 +5774,7 @@
they would on a <code>NodeList</code> object.</p>
<p>The <dfn
- title="dom-PropertyNodeList-content"><code>content</code></dfn> DOM
+ title="dom-PropertyNodeList-contents"><code>contents</code></dfn> DOM
attribute on the <code>PropertyNodeList</code> object, on getting,
must return a newly constructed <code>DOMStringArray</code> whose
values are the values obtained from the <code
@@ -46523,8 +46523,8 @@
object with all the matching properties. The
<code>PropertyNodeList</code> object can be used to obtained all the
values at once using <em>its</em> <code
- title="dom-PropertyNodeList-content">content</code> attribute, which
- returns an array of all the values.</p>
+ title="dom-PropertyNodeList-contents">contents</code> attribute,
+ which returns an array of all the values.</p>
<div class="example">
@@ -46533,7 +46533,7 @@
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.';
@@ -49043,7 +49043,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 < 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, '');
More information about the Commit-Watchers
mailing list