Browse files

[] (0) <textarea required>

git-svn-id: http://svn.whatwg.org/webapps@2312 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent fe99512 commit 30332f73e479116e532df95fee036ee6902b91d3 @Hixie Hixie committed Oct 9, 2008
Showing with 14 additions and 2 deletions.
  1. +6 −1 index
  2. +8 −1 source
View
7 index
@@ -26962,8 +26962,13 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<code><a href=#textcontent>textContent</a></code> DOM attribute is equal to or less than the
element's <a href=#maximum-allowed-value-length>maximum allowed value length</a>.</p>
+ <p>The <dfn id=attr-textarea-required title=attr-textarea-required><code>required</code></dfn> attribute
+ is a <a href=#boolean-attribute>boolean attribute</a>.</p>
- <p class=XXX> ... <dfn id=attr-textarea-required title=attr-textarea-required><code>required</code></dfn>
+ <p><strong>Constraint validation:</strong> If the element has its
+ <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code> attribute
+ specified, and the element's <a href=#concept-fe-value title=concept-fe-value>value</a> is the empty string, then the
+ element is <a href=#suffering-from-being-missing>suffering from being missing</a>.</p>
<p class=XXX> ... <dfn id=attr-textarea-accept title=attr-textarea-accept><code>accept</code></dfn>
View
9 source
@@ -30248,8 +30248,15 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<code>textContent</code> DOM attribute is equal to or less than the
element's <span>maximum allowed value length</span>.</p>
+ <p>The <dfn
+ title="attr-textarea-required"><code>required</code></dfn> attribute
+ is a <span>boolean attribute</span>.</p>
- <p class="XXX"> ... <dfn title="attr-textarea-required"><code>required</code></dfn>
+ <p><strong>Constraint validation:</strong> If the element has its
+ <code title="attr-textarea-required">required</code> attribute
+ specified, and the element's <span
+ title="concept-fe-value">value</span> is the empty string, then the
+ element is <span>suffering from being missing</span>.</p>
<p class="XXX"> ... <dfn title="attr-textarea-accept"><code>accept</code></dfn>

0 comments on commit 30332f7

Please sign in to comment.