Skip to content

Commit

Permalink
[] (0) WF2: Finish <output>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2315 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 10, 2008
1 parent 6ae3b03 commit a54b682
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
23 changes: 20 additions & 3 deletions index
Expand Up @@ -27018,7 +27018,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<dt>Content model:</dt>
<dd><a href=#phrasing-content-0>Phrasing content</a>.</dd>
<dt>Element-specific attributes:</dt>
<dd><code title=attr-output-for>for</code></dd>
<dd><code title=attr-output-for><a href=#attr-output-for>for</a></code></dd>
<dd><code title=attr-fae-form><a href=#attr-fae-form>form</a></code></dd>
<dd><code title=attr-fe-name><a href=#attr-fe-name>name</a></code></dd>
<dt>DOM interface:</dt>
Expand All @@ -27028,7 +27028,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
readonly attribute <a href=#htmlformelement>HTMLFormElement</a> <a href=#dom-fae-form title=dom-fae-form>form</a>;
attribute DOMString <a href=#dom-fe-name title=dom-fe-name>name</a>;

readonly attribute DOMString <span title=dom-output-type>type</span>;
readonly attribute DOMString <a href=#dom-output-type title=dom-output-type>type</a>;
attribute DOMString <a href=#dom-output-defaultvalue title=dom-output-defaultValue>defaultValue</a>;
attribute DOMString <a href=#dom-output-value title=dom-output-value>value</a>;

Expand All @@ -27039,7 +27039,18 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
void <a href=#dom-cva-setcustomvalidity title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
};</pre>
</dd>
</dl><p class=XXX>...</p>
</dl><p>The <code><a href=#the-output-element>output</a></code> element represents the result of a
calculation.</p>

<p>The <dfn id=attr-output-for title=attr-output-for><code>for</code></dfn> content
attribute allows an explicit relationship to be made between the
result of a calculation and the elements that represent the values
that went into the calculation or that otherwise influenced the
calculation. The <code title=attr-output-for><a href=#attr-output-for>for</a></code> attribute,
if specified, must contain a string consisting of an <a href=#unordered-set-of-unique-space-separated-tokens>unordered
set of unique space-separated tokens</a>, each of which must have
the value of an ID of an element in the same
<code>Document</code>.</p>

<p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to
explicitly associate the <code><a href=#the-output-element>output</a></code> element with its
Expand Down Expand Up @@ -27089,6 +27100,12 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
flag</a> is in the mode <i title=concept-output-mode-default>default</i>, set the element's
<code><a href=#textcontent>textContent</a></code> DOM attribute as well.</p>

<p>The <dfn id=dom-output-type title=dom-output-type><code>type</code></dfn>
attribute must return the string "<code title="">output</code>".</p>

<p>The <dfn id=dom-output-htmlfor title=dom-output-htmlFor><code>htmlFor</code></dfn>
DOM attribute must <a href=#reflect>reflect</a> the <code title=attr-output-for><a href=#attr-output-for>for</a></code> content attribute.</p>

<p>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>,
<code title=dom-cva-validity><a href=#dom-cva-validity>validity</a></code>, and <code title=dom-cva-validationMessage><a href=#dom-cva-validationmessage>validationMessage</a></code>
attributes, and the <code title=dom-cva-checkValidatity><a href=#dom-cva-checkvalidatity>checkValidity()</a></code> and
Expand Down
20 changes: 19 additions & 1 deletion source
Expand Up @@ -30344,7 +30344,18 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
</dd>
</dl>

<p class="XXX">...</p>
<p>The <code>output</code> element represents the result of a
calculation.</p>

<p>The <dfn title="attr-output-for"><code>for</code></dfn> content
attribute allows an explicit relationship to be made between the
result of a calculation and the elements that represent the values
that went into the calculation or that otherwise influenced the
calculation. The <code title="attr-output-for">for</code> attribute,
if specified, must contain a string consisting of an <span>unordered
set of unique space-separated tokens</span>, each of which must have
the value of an ID of an element in the same
<code>Document</code>.</p>

<p>The <code title="attr-fae-form">form</code> attribute is used to
explicitly associate the <code>output</code> element with its
Expand Down Expand Up @@ -30409,6 +30420,13 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
title="concept-output-mode-default">default</i>, set the element's
<code>textContent</code> DOM attribute as well.</p>

<p>The <dfn title="dom-output-type"><code>type</code></dfn>
attribute must return the string "<code title="">output</code>".</p>

<p>The <dfn title="dom-output-htmlFor"><code>htmlFor</code></dfn>
DOM attribute must <span>reflect</span> the <code
title="attr-output-for">for</code> content attribute.</p>

<p>The <code title="dom-cva-willValidate">willValidate</code>,
<code title="dom-cva-validity">validity</code>, and <code
title="dom-cva-validationMessage">validationMessage</code>
Expand Down

0 comments on commit a54b682

Please sign in to comment.