- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 10 Oct 2008 00:33:32 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv15344
Modified Files:
Overview.html
Log Message:
WF2: Finish <output>. (whatwg r2315)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1487
retrieving revision 1.1488
diff -u -d -r1.1487 -r1.1488
--- Overview.html 10 Oct 2008 00:26:05 -0000 1.1487
+++ Overview.html 10 Oct 2008 00:33:29 -0000 1.1488
@@ -21831,7 +21831,7 @@
<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>
@@ -21841,7 +21841,7 @@
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>;
@@ -21852,7 +21852,16 @@
void <a href=#dom-cva-setcustomvalidity title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
};</pre>
</dd>
- </dl><p class=XXX>...<p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to
+ </dl><p>The <code><a href=#the-output-element>output</a></code> element represents the result of a
+ calculation.<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>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
<a href=#form-owner>form owner</a>. The <code title=attr-fe-name><a href=#attr-fe-name>name</a></code>
attribute represents the element's name.<p>The element has a <dfn id=concept-output-mode title=concept-output-mode>value mode
@@ -21884,7 +21893,9 @@
setting, the attribute must set the element's <a href=#concept-output-defaultvalue title=concept-output-defaultValue>default value</a>, and, if
the element's <a href=#concept-output-mode title=concept-output-mode>value mode
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>The <code title=dom-cva-willValidate><a href=#dom-cva-willvalidate>willValidate</a></code>,
+ <code><a href=#textcontent>textContent</a></code> DOM attribute as well.<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>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>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
<code title=dom-cva-setCustomValidity><a href=#dom-cva-setcustomvalidity>setCustomValidity()</a></code>
Received on Friday, 10 October 2008 00:33:41 UTC