- From: poot <cvsmail@w3.org>
- Date: Thu, 5 Aug 2010 06:00:13 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Make <textarea> support 'white-space. (whatwg r5236) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4169&r2=1.4170&f=h http://html5.org/tools/web-apps-tracker?from=5235&to=5236 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4169 retrieving revision 1.4170 diff -u -d -r1.4169 -r1.4170 --- Overview.html 4 Aug 2010 20:07:16 -0000 1.4169 +++ Overview.html 4 Aug 2010 20:56:15 -0000 1.4170 @@ -61130,6 +61130,7 @@ nobr { white-space: nowrap; } listing, plaintext, pre, xmp { white-space: pre; } +textarea { white-space: pre-wrap; } ol { list-style-type: decimal; } @@ -61931,9 +61932,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="#the-marquee-element">marquee</a></code> element, while the element is <a href="#concept-marquee-on" title="concept-marquee-on">turned on</a>, the element is expected @@ -62094,9 +62093,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-meter-element">meter</a></code> element, the element is expected to render as an @@ -62124,9 +62121,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-progress-element">progress</a></code> element, the element is expected to render as @@ -62160,9 +62155,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-select-element">select</a></code> element whose <code title="attr-select-multiple"><a href="#attr-select-multiple">multiple</a></code> attribute is present, @@ -62212,7 +62205,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-textarea-element">textarea</a></code> element, the element is expected to render as @@ -62250,10 +62243,14 @@ number of lines specified the element's <a href="#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="#attr-textarea-wrap">wrap</a></code> attribute whose value is an - <a href="#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-textarea-element">textarea</a></code> elements. For historical reasons, if the + element has a <code title="attr-textarea-wrap"><a href="#attr-textarea-wrap">wrap</a></code> attribute + whose value is an <a href="#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">
Received on Wednesday, 4 August 2010 20:57:12 UTC