W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2009

spec/Overview.html 1.2014 2843 Flesh out minor point about text nodes.

From: poot <cvsmail@w3.org>
Date: Thu, 19 Feb 2009 20:16:13 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090219111613.CDCF62BC72@toro.w3.mag.keio.ac.jp>
Flesh out minor point about text nodes. Remove redundant internal note.
(whatwg r2843)

Option()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2014.html#dom-option
4.10.15.5 Plain text form data
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2014.html#plain-text-form-data
4.10.15.4 Multipart form data
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2014.html#multipart-form-data

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2013&r2=1.2014&f=h
http://html5.org/tools/web-apps-tracker?from=2842&to=2843

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2013
retrieving revision 1.2014
diff -u -d -r1.2013 -r1.2014
--- Overview.html	19 Feb 2009 11:04:59 -0000	1.2013
+++ Overview.html	19 Feb 2009 11:12:26 -0000	1.2014
@@ -24091,14 +24091,14 @@
   methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-option title=dom-option><code>Option()</code></dfn>, <dfn id=dom-option-t title=dom-option-t><code>Option(<var title="">text</var>)</code></dfn>, <dfn id=dom-option-tv title=dom-option-tv><code>Option(<var title="">text</var>, <var title="">value</var>)</code></dfn>, <dfn id=dom-option-tvd title=dom-option-tvd><code>Option(<var title="">text</var>, <var title="">value</var>, <var title="">defaultSelected</var>)</code></dfn>, and <dfn id=dom-option-tvds title=dom-option-tvds><code>Option(<var title="">text</var>, <var title="">value</var>, <var title="">defaultSelected</var>, <var title="">selected</var>)</code></dfn>. When invoked as constructors,
   these must return a new <code><a href=#htmloptionelement>HTMLOptionElement</a></code> object (a new
   <code><a href=#the-option-element>option</a></code> element). If the <var title="">text</var>
-  argument is present, the new object must have a text node<!-- XXX
-  clarify that we don't mean a CDATASection? (see dfn of 'text node')
-  --> with the value of that argument as its data as its only
-  child. If the <var title="">value</var> argument is present, the new
-  object must have a <code title=attr-option-value><a href=#attr-option-value>value</a></code>
-  attribute set with the value of the argument as its value. If the
-  <var title="">defaultSelected</var> argument is present and true,
-  the new object must have a <code title=attr-option-selected><a href=#attr-option-selected>selected</a></code> attribute set with no
+  argument is present, the new object must have as its only child a
+  <code>Node</code> with node type <code title="">TEXT_NODE</code> (3)
+  whose data is the value of that argument<!-- we mention TEXT_NODE
+  and all that explicitly here because we redefine "text node" in this
+  spec to also include CDATA sections -->. If the <var title="">value</var> argument is present, the new object must have a
+  <code title=attr-option-value><a href=#attr-option-value>value</a></code> attribute set with the
+  value of the argument as its value. If the <var title="">defaultSelected</var> argument is present and true, the new
+  object must have a <code title=attr-option-selected><a href=#attr-option-selected>selected</a></code> attribute set with no
   value. If the <var title="">selected</var> argument is present and
   true, the new object must have its <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> set to true;
   otherwise the fouth argument is absent or false, and the <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> must be set
@@ -25361,7 +25361,7 @@
   <i>field</i>, the name of the entry is the <i>field name</i> and the
   value of the entry is the <i>field value</i>.<p>The order of parts must be the same as the order of fields in the
   <var title="">form data set</var>. Multiple entries with the same
-  name must be treated as distinct fields.</p><!-- XXX define default encoding? --><h5 id=plain-text-form-data><span class=secno>4.10.15.5 </span>Plain text form data</h5><p>The <dfn id=text-plain-encoding-algorithm><code title="">text/plain</code> encoding
+  name must be treated as distinct fields.<h5 id=plain-text-form-data><span class=secno>4.10.15.5 </span>Plain text form data</h5><p>The <dfn id=text-plain-encoding-algorithm><code title="">text/plain</code> encoding
   algorithm</dfn> is as follows:<ol><li><p>Let <var title="">result</var> be the empty string.</li>
 
    <li>
Received on Thursday, 19 February 2009 11:16:49 GMT

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