[html5] r5374 - [e] (0) Explain what the soft/hard states are for. Fixing http://www.w3.org/Bugs [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Aug 27 13:35:08 PDT 2010
Author: ianh
Date: 2010-08-27 13:35:06 -0700 (Fri, 27 Aug 2010)
New Revision: 5374
Modified:
complete.html
index
source
Log:
[e] (0) Explain what the soft/hard states are for.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9889
Modified: complete.html
===================================================================
--- complete.html 2010-08-27 19:18:11 UTC (rev 5373)
+++ complete.html 2010-08-27 20:35:06 UTC (rev 5374)
@@ -43816,11 +43816,21 @@
<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
+ 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>
+ <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>
+
+ <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>
+
<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>
Modified: index
===================================================================
--- index 2010-08-27 19:18:11 UTC (rev 5373)
+++ index 2010-08-27 20:35:06 UTC (rev 5374)
@@ -43741,11 +43741,21 @@
<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
+ 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>
+ <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>
+
+ <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>
+
<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>
Modified: source
===================================================================
--- source 2010-08-27 19:18:11 UTC (rev 5373)
+++ source 2010-08-27 20:35:06 UTC (rev 5374)
@@ -48988,14 +48988,24 @@
attribute is an <span>enumerated attribute</span> with two keywords
and states: the <dfn
title="attr-textarea-wrap-soft"><code>soft</code></dfn> keyword
- which maps to the <dfn
- title="attr-textarea-wrap-soft-state">Soft</dfn> state, and the
+ which maps to the <span
+ title="attr-textarea-wrap-soft-state">Soft</span> state, and the
<dfn title="attr-textarea-wrap-hard"><code>hard</code></dfn> keyword
- which maps to the <dfn
- title="attr-textarea-wrap-hard-state">Hard</dfn> state. The
+ which maps to the <span
+ title="attr-textarea-wrap-hard-state">Hard</span> state. The
<i>missing value default</i> is the <span
title="attr-textarea-wrap-soft-state">Soft</span> state.</p>
+ <p>The <dfn title="attr-textarea-wrap-soft-state">Soft</dfn> state
+ indicates that the text in the <code>textarea</code> is not to be
+ wrapped when it is submitted (though it can still be wrapped in the
+ rendering).</p>
+
+ <p>The <dfn title="attr-textarea-wrap-hard-state">Hard</dfn> state
+ indicates that the text in the <code>textarea</code> is to have
+ newlines added by the user agent so that the text is wrapped when it
+ is submitted.</p>
+
<p>If the element's <code title="attr-textarea-wrap">wrap</code>
attribute is in the <span
title="attr-textarea-wrap-hard-state">Hard</span> state, the <code
More information about the Commit-Watchers
mailing list