[html5] r2315 - [] (0) WF2: Finish <output>.

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 9 17:33:25 PDT 2008


Author: ianh
Date: 2008-10-09 17:33:25 -0700 (Thu, 09 Oct 2008)
New Revision: 2315

Modified:
   index
   source
Log:
[] (0) WF2: Finish <output>.

Modified: index
===================================================================
--- index	2008-10-10 00:26:01 UTC (rev 2314)
+++ index	2008-10-10 00:33:25 UTC (rev 2315)
@@ -27018,7 +27018,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>
@@ -27028,7 +27028,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>;
 
@@ -27039,8 +27039,19 @@
   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
   <a href=#form-owner>form owner</a>. The <code title=attr-fe-name><a href=#attr-fe-name>name</a></code>
@@ -27089,6 +27100,12 @@
   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

Modified: source
===================================================================
--- source	2008-10-10 00:26:01 UTC (rev 2314)
+++ source	2008-10-10 00:33:25 UTC (rev 2315)
@@ -30344,8 +30344,19 @@
    </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
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
@@ -30409,6 +30420,13 @@
   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>




More information about the Commit-Watchers mailing list