- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 10 Sep 2010 22:46:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv380
Modified Files:
spec.html the-button-element.html
Log Message:
HTMLOptionElement.text collapses spaces. (whatwg r5466)
[updated by splitter]
Index: the-button-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-button-element.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- the-button-element.html 10 Sep 2010 01:47:10 -0000 1.22
+++ the-button-element.html 10 Sep 2010 22:46:39 -0000 1.23
@@ -1120,7 +1120,7 @@
<dd>
- <p>Same as <code><a href="infrastructure.html#textcontent">textContent</a></code>.</p>
+ <p>Same as <code><a href="infrastructure.html#textcontent">textContent</a></code>, except that spaces are collapsed.</p>
</dd>
@@ -1160,10 +1160,14 @@
attribute must return the element's <a href="#concept-option-index" title="concept-option-index">index</a>.</p>
<p>The <dfn id="dom-option-text" title="dom-option-text"><code>text</code></dfn> IDL
- attribute, on getting, must return the same value as the
- <code><a href="infrastructure.html#textcontent">textContent</a></code> IDL attribute on the element, and on
- setting, must act as if the <code><a href="infrastructure.html#textcontent">textContent</a></code> IDL attribute
- on the element had been set to the new value.</p>
+ attribute, on getting, must return the value of the
+ <code><a href="infrastructure.html#textcontent">textContent</a></code> IDL attribute on the element with leading
+ and trailing <a href="common-microsyntaxes.html#space-character" title="space character">space characters</a>
+ removed, and with any sequences of two or more <a href="common-microsyntaxes.html#space-character" title="space
+ character">space characters</a> replaced by a single U+0020 SPACE
+ character. On setting, it must act as if the
+ <code><a href="infrastructure.html#textcontent">textContent</a></code> IDL attribute on the element had been set
+ to the new value.</p>
<p>The <dfn id="dom-option-form" title="dom-option-form"><code>form</code></dfn> IDL
attribute's behavior depends on whether the <code><a href="#the-option-element">option</a></code>
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1204
retrieving revision 1.1205
diff -u -d -r1.1204 -r1.1205
--- spec.html 10 Sep 2010 09:46:33 -0000 1.1204
+++ spec.html 10 Sep 2010 22:46:38 -0000 1.1205
@@ -336,7 +336,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.4358.
+This is revision 1.4359.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 10 September 2010 22:46:43 UTC