- From: poot <cvsmail@w3.org>
- Date: Sat, 28 Aug 2010 05:41:26 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Explain what the soft/hard states are for. (whatwg r5374) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4288&r2=1.4289&f=h http://html5.org/tools/web-apps-tracker?from=5373&to=5374 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4288 retrieving revision 1.4289 diff -u -d -r1.4288 -r1.4289 --- Overview.html 27 Aug 2010 19:18:16 -0000 1.4288 +++ Overview.html 27 Aug 2010 20:35:11 -0000 1.4289 @@ -33024,10 +33024,16 @@ </div><p>The <dfn id="attr-textarea-wrap" title="attr-textarea-wrap"><code>wrap</code></dfn> attribute is an <a href="#enumerated-attribute">enumerated attribute</a> with two keywords and states: the <dfn id="attr-textarea-wrap-soft" title="attr-textarea-wrap-soft"><code>soft</code></dfn> keyword - which maps to the <dfn id="attr-textarea-wrap-soft-state" title="attr-textarea-wrap-soft-state">Soft</dfn> state, and the + which maps to the <a href="#attr-textarea-wrap-soft-state" title="attr-textarea-wrap-soft-state">Soft</a> state, and the <dfn id="attr-textarea-wrap-hard" title="attr-textarea-wrap-hard"><code>hard</code></dfn> keyword - which maps to the <dfn id="attr-textarea-wrap-hard-state" title="attr-textarea-wrap-hard-state">Hard</dfn> state. The - <i>missing value default</i> is the <a href="#attr-textarea-wrap-soft-state" title="attr-textarea-wrap-soft-state">Soft</a> state.<p>If the element's <code title="attr-textarea-wrap"><a href="#attr-textarea-wrap">wrap</a></code> + which maps to the <a href="#attr-textarea-wrap-hard-state" title="attr-textarea-wrap-hard-state">Hard</a> state. The + <i>missing value default</i> is the <a href="#attr-textarea-wrap-soft-state" title="attr-textarea-wrap-soft-state">Soft</a> state.<p>The <dfn id="attr-textarea-wrap-soft-state" title="attr-textarea-wrap-soft-state">Soft</dfn> state + indicates that the text in the <code><a href="#the-textarea-element">textarea</a></code> is not to be + wrapped when it is submitted (though it can still be wrapped in the + rendering).<p>The <dfn id="attr-textarea-wrap-hard-state" title="attr-textarea-wrap-hard-state">Hard</dfn> state + indicates that the text in the <code><a href="#the-textarea-element">textarea</a></code> is to have + newlines added by the user agent so that the text is wrapped when it + is submitted.<p>If the element's <code title="attr-textarea-wrap"><a href="#attr-textarea-wrap">wrap</a></code> attribute is in the <a href="#attr-textarea-wrap-hard-state" title="attr-textarea-wrap-hard-state">Hard</a> state, the <code title="attr-textarea-cols"><a href="#attr-textarea-cols">cols</a></code> attribute must be specified.</p><!-- attr-textarea-wrap-off (attr-textarea-wrap-off-state): not conforming; turns off the rendering of wrapping but otherwise acts
Received on Friday, 27 August 2010 20:36:05 UTC