- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 04 Aug 2010 21:06:59 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4244
Modified Files:
rendering.html spec.html
Log Message:
Make <textarea> support 'white-space. (whatwg r5236)
[updated by splitter]
Index: rendering.html
===================================================================
RCS file: /sources/public/html5/spec/rendering.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- rendering.html 27 Jul 2010 05:46:56 -0000 1.10
+++ rendering.html 4 Aug 2010 21:06:56 -0000 1.11
@@ -1052,6 +1052,7 @@
nobr { white-space: nowrap; }
listing, plaintext, pre, xmp { white-space: pre; }
+textarea { white-space: pre-wrap; }
ol { list-style-type: decimal; }
@@ -1853,9 +1854,7 @@
<pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
-marquee {
- binding: <i title="">marquee</i>;
-}</pre>
+marquee { binding: <i title="">marquee</i>; }</pre>
<p>When the <i title="">marquee</i> binding applies to a
<code><a href="obsolete.html#the-marquee-element">marquee</a></code> element, while the element is <a href="obsolete.html#concept-marquee-on" title="concept-marquee-on">turned on</a>, the element is expected
@@ -2016,9 +2015,7 @@
<pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
-meter {
- binding: <i title="">meter</i>;
-}</pre>
+meter { binding: <i title="">meter</i>; }</pre>
<p>When the <i title="">meter</i> binding applies to a
<code><a href="the-button-element.html#the-meter-element">meter</a></code> element, the element is expected to render as an
@@ -2046,9 +2043,7 @@
<pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
-progress {
- binding: <i title="">progress</i>;
-}</pre>
+progress { binding: <i title="">progress</i>; }</pre>
<p>When the <i title="">progress</i> binding applies to a
<code><a href="the-button-element.html#the-progress-element">progress</a></code> element, the element is expected to render as
@@ -2082,9 +2077,7 @@
<pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
-select {
- binding: <i title="">select</i>;
-}</pre>
+select { binding: <i title="">select</i>; }</pre>
<p>When the <i title="">select</i> binding applies to a
<code><a href="the-button-element.html#the-select-element">select</a></code> element whose <code title="attr-select-multiple"><a href="the-button-element.html#attr-select-multiple">multiple</a></code> attribute is present,
@@ -2134,7 +2127,7 @@
<pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
-textarea { binding: <i title="">textarea</i>; }</pre>
+textarea { binding: <i title="">textarea</i>; white-space: pre-wrap; }</pre>
<p>When the <i title="">textarea</i> binding applies to a
<code><a href="the-button-element.html#the-textarea-element">textarea</a></code> element, the element is expected to render as
@@ -2172,10 +2165,14 @@
number of lines specified the element's <a href="the-button-element.html#attr-textarea-rows-value" title="attr-textarea-rows-value">character height</a>, plus the
height of a scrollbar in CSS pixels.</p>
- <p>For historical reasons, if the element has a <code title="attr-textarea-wrap"><a href="the-button-element.html#attr-textarea-wrap">wrap</a></code> attribute whose value is an
- <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a> match for the string "<code title="attr-textarea-wrap-off">off</code>", then the user agent is
- expected to not wrap the rendered value; otherwise, the value of the
- control is expected to be wrapped to the width of the control.</p>
+ <p>User agents are expected to apply the 'white-space' CSS property
+ to <code><a href="the-button-element.html#the-textarea-element">textarea</a></code> elements. For historical reasons, if the
+ element has a <code title="attr-textarea-wrap"><a href="the-button-element.html#attr-textarea-wrap">wrap</a></code> attribute
+ whose value is an <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a> match for the
+ string "<code title="attr-textarea-wrap-off">off</code>", then the
+ user agent is expected to treat the attribute as a
+ <span>presentational hint</span> setting the element's 'white-space'
+ property to 'pre'.</p>
</div><div class="impl">
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1103
retrieving revision 1.1104
diff -u -d -r1.1103 -r1.1104
--- spec.html 4 Aug 2010 20:16:52 -0000 1.1103
+++ spec.html 4 Aug 2010 21:06:56 -0000 1.1104
@@ -333,7 +333,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">author edition</a>.
-This is revision 1.4169.
+This is revision 1.4170.
</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 Wednesday, 4 August 2010 21:07:00 UTC