html5/spec Overview.html,1.1345,1.1346

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5140

Modified Files:
	Overview.html 
Log Message:
WF2: form.name and form.submit() (whatwg r2173)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1345
retrieving revision 1.1346
diff -u -d -r1.1345 -r1.1346
--- Overview.html	12 Sep 2008 23:25:47 -0000	1.1345
+++ Overview.html	13 Sep 2008 00:14:12 -0000	1.1346
@@ -27,7 +27,7 @@
     for HTML and XHTML</h2>
 
    <h2 class="no-num no-toc" id=editors0><!-- "W3C Working Draft" -->
-    Editor's Draft <!--ZZZ-->12 September 2008</h2>
+    Editor's Draft <!--ZZZ-->13 September 2008</h2>
 
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
@@ -199,7 +199,7 @@
 
   <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is
    the W3C working group responsible for this specification's progress along
-   the W3C Recommendation track. <!--ZZZ:--> This specification is the 12
+   the W3C Recommendation track. <!--ZZZ:--> This specification is the 13
    September 2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--></p>
   <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST -->
   <!-- relationship to other work (required) -->
@@ -6777,12 +6777,12 @@
    <li>If, at the time the method is called, there is exactly one node in the
     collection that has either an <code title=attr-id><a
     href="#id">id</a></code> attribute or a <code title=attr-fe-name><a
-    href="#name9">name</a></code> attribute equal to <var title="">key</var>,
-    then return that node and stop the algorithm.
+    href="#name11">name</a></code> attribute equal to <var
+    title="">key</var>, then return that node and stop the algorithm.
 
    <li>Otherwise, if there are no nodes in the collection that have either an
     <code title=attr-id><a href="#id">id</a></code> attribute or a <code
-    title=attr-fe-name><a href="#name9">name</a></code> attribute equal to
+    title=attr-fe-name><a href="#name11">name</a></code> attribute equal to
     <var title="">key</var>, then return null and stop the algorithm.
 
    <li>Otherwise, create a <code>NodeList</code> object representing a live
@@ -6791,7 +6791,7 @@
     object, further filtered so that the only nodes in the
     <code>NodeList</code> object are those that have either an <code
     title=attr-id><a href="#id">id</a></code> attribute or a <code
-    title=attr-fe-name><a href="#name9">name</a></code> attribute equal to
+    title=attr-fe-name><a href="#name11">name</a></code> attribute equal to
     <var title="">key</var>. The nodes in the <code>NodeList</code> object
     must be sorted in <a href="#tree-order">tree order</a>.
 
@@ -26584,15 +26584,15 @@
    <dd><code title=attr-form-accept-charset><a
     href="#accept-charset">accept-charset</a></code>
 
-   <dd><code title=attr-form-action>action</code>
+   <dd><code title=attr-fs-action><a href="#action">action</a></code>
 
-   <dd><code title=attr-form-enctype>enctype</code>
+   <dd><code title=attr-fs-enctype><a href="#enctype">enctype</a></code>
 
-   <dd><code title=attr-form-method>method</code>
+   <dd><code title=attr-fs-method><a href="#method">method</a></code>
 
-   <dd><code title=attr-form-name>name</code>
+   <dd><code title=attr-form-name><a href="#name9">name</a></code>
 
-   <dd><code title=attr-form-target>target</code>
+   <dd><code title=attr-fs-target><a href="#target3">target</a></code>
 
    <dt>DOM interface:
 
@@ -26600,18 +26600,18 @@
     <pre
      class=idl>interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#accept-charset0" title=dom-form-accept-charset>accept-charset</a>;
-           attribute DOMString <span title=dom-form-action>action</span>;
-           attribute DOMString <span title=dom-form-enctype>enctype</span>;
-           attribute DOMString <span title=dom-form-method>method</span>;
-           attribute DOMString <span title=dom-form-name>name</span>;
-           attribute DOMString <span title=dom-form-target>target</span>;
+           attribute DOMString <a href="#action0" title=dom-fs-action>action</a>;
+           attribute DOMString <a href="#enctype0" title=dom-fs-enctype>enctype</a>;
+           attribute DOMString <a href="#method0" title=dom-fs-method>method</a>;
+           attribute DOMString <a href="#name10" title=dom-form-name>name</a>;
+           attribute DOMString <a href="#target4" title=dom-fs-target>target</a>;
 
   readonly attribute <a href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a> <a href="#elements3" title=dom-form-elements>elements</a>;
   readonly attribute long <a href="#length6" title=dom-form-length>length</a>;
   [IndexGetter] <a href="#htmlelement">HTMLElement</a> <a href="#xxx7" title=dom-form-XXX7>XXX7</a>(in unsigned long index);
   [NameGetter] Object <a href="#xxx8" title=dom-form-XXX8>XXX8</a>(in DOMString name);
 
-  void <span title=dom-form-submit>submit</span>();
+  void <a href="#submit" title=dom-form-submit>submit</a>();
   void <span title=dom-form-reset>reset</span>();
   boolean <span title=dom-form-checkValidity>checkValidity</span>();
 
@@ -26632,12 +26632,23 @@
    href="#ascii-compatible">ASCII-compatible character encoding</a>. <a
    href="#references">[IANACHARSET]</a>
 
-  <p class=big-issue>...
+  <p>The <dfn id=name9 title=attr-form-name><code>name</code></dfn> attribute
+   represents the <code><a href="#form">form</a></code>'s name within the
+   <code title=dom-forms>forms</code> collection. The value must not be the
+   empty string, and the value must be unique amongst the <code><a
+   href="#form">form</a></code> elements in the <code
+   title=dom-forms>forms</code> collection that it is in, if any.
+
+  <p>The <code title=attr-fs-action><a href="#action">action</a></code>,
+   <code title=attr-fs-enctype><a href="#enctype">enctype</a></code>, <code
+   title=attr-fs-method><a href="#method">method</a></code>, and <code
+   title=attr-fs-target><a href="#target3">target</a></code> are <a
+   href="#attributes5">attributes for form submission</a>.
 
   <p>The <dfn id=accept-charset0
-   title=dom-form-accept-charset><code>accept-charset</code></dfn> DOM
-   attribute must <a href="#reflect">reflect</a> the content attribute of the
-   same name.
+   title=dom-form-accept-charset><code>accept-charset</code></dfn> and <dfn
+   id=name10 title=dom-form-name><code>name</code></dfn> DOM attributes must
+   <a href="#reflect">reflect</a> the content attributes of the same name.
 
   <p>The <dfn id=elements3
    title=dom-form-elements><code>elements</code></dfn> DOM attribute must
@@ -26675,6 +26686,14 @@
    title=dom-form-elements><a href="#elements3">elements</a></code>
    collection if it was invoked with the same arguments.
 
+  <p>The <dfn id=submit title=dom-form-submit><code>submit()</code></dfn>
+   method, when invoked, must <a href="#submitted"
+   title=concept-form-submit>submit</a> the <code><a
+   href="#form">form</a></code> element from the <code><a
+   href="#form">form</a></code> element itself.
+
+  <p class=big-issue>...
+
   <h4 id=the-fieldset><span class=secno>4.9.2 </span>The <dfn
    id=fieldset><code>fieldset</code></dfn> element</h4>
 
@@ -26702,7 +26721,7 @@
 
    <dd><code title=attr-fae-form><a href="#form0">form</a></code>
 
-   <dd><code title=attr-fe-name><a href="#name9">name</a></code>
+   <dd><code title=attr-fe-name><a href="#name11">name</a></code>
 
    <dt>DOM interface:
 
@@ -26711,7 +26730,7 @@
      class=idl>interface <dfn id=htmlfieldsetelement>HTMLFieldSetElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
            attribute DOMString <span title=dom-fieldset-disabled>disabled</span>;
   readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
-           attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
+           attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
 
   readonly attribute DOMString <span title=dom-select-type>type</span>;
 
@@ -26793,7 +26812,7 @@
 
    <dd><code title=attr-input-min>min</code>
 
-   <dd><code title=attr-fe-name><a href="#name9">name</a></code>
+   <dd><code title=attr-fe-name><a href="#name11">name</a></code>
 
    <dd><code title=attr-input-pattern>pattern</code>
 
@@ -26834,7 +26853,7 @@
            attribute long <span title=dom-input-maxLength>maxLength</span>;
            attribute DOMString <span title=dom-input-method>method</span>;
            attribute DOMString <span title=dom-input-min>min</span>;
-           attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
+           attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
            attribute DOMString <span title=dom-input-pattern>pattern</span>;
            attribute boolean <span title=dom-input-readOnly>readOnly</span>;
            attribute boolean <span title=dom-input-required>required</span>;
@@ -26916,7 +26935,7 @@
 
    <dd><code title=attr-button-method>method</code>
 
-   <dd><code title=attr-fe-name><a href="#name9">name</a></code>
+   <dd><code title=attr-fe-name><a href="#name11">name</a></code>
 
    <dd><code title=attr-button-target>target</code>
 
@@ -26935,7 +26954,7 @@
            attribute DOMString <span title=dom-button-enctype>enctype</span>;
   readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
            attribute DOMString <span title=dom-button-method>method</span>;
-           attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
+           attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
            attribute DOMString <span title=dom-button-target>target</span>;
            attribute DOMString <span title=dom-button-type>type</span>;
            attribute DOMString <span title=dom-button-value>value</span>;
@@ -27027,7 +27046,7 @@
 
    <dd><code title=attr-select-multiple>multiple</code>
 
-   <dd><code title=attr-fe-name><a href="#name9">name</a></code>
+   <dd><code title=attr-fe-name><a href="#name11">name</a></code>
 
    <dd><code title=attr-select-size>size</code>
 
@@ -27040,7 +27059,7 @@
            attribute boolean <a href="#disabled4" title=dom-fe-disabled>disabled</a>;
   readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
            attribute boolean <span title=dom-select-multiple>multiple</span>;
-           attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
+           attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
            attribute boolean <span title=dom-select-size>size</span>;
 
   readonly attribute DOMString <span title=dom-select-type>type</span>;
@@ -27246,7 +27265,7 @@
 
    <dd><code title=attr-textarea-maxlength>maxlength</code>
 
-   <dd><code title=attr-fe-name><a href="#name9">name</a></code>
+   <dd><code title=attr-fe-name><a href="#name11">name</a></code>
 
    <dd><code title=attr-textarea-pattern>pattern</code>
 
@@ -27270,7 +27289,7 @@
   readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
            attribute DOMString <span title=dom-textarea-inputmode>inputmode</span>;
            attribute long <span title=dom-textarea-maxLength>maxLength</span>;
-           attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
+           attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
            attribute DOMString <span title=dom-textarea-pattern>pattern</span>;
            attribute boolean <span title=dom-textarea-readOnly>readOnly</span>;
            attribute boolean <span title=dom-textarea-required>required</span>;
@@ -27324,7 +27343,7 @@
 
    <dd><code title=attr-fae-form><a href="#form0">form</a></code>
 
-   <dd><code title=attr-fe-name><a href="#name9">name</a></code>
+   <dd><code title=attr-fe-name><a href="#name11">name</a></code>
 
    <dt>DOM interface:
 
@@ -27333,7 +27352,7 @@
      class=idl>interface <dfn id=htmloutputelement>HTMLOutputElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
            attribute DOMString <span title=dom-output-wrap>htmlFor</span>;
   readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#form1" title=dom-fae-form>form</a>;
-           attribute DOMString <a href="#name10" title=dom-fe-name>name</a>;
+           attribute DOMString <a href="#name12" title=dom-fe-name>name</a>;
 
   readonly attribute DOMString <span title=dom-output-type>type</span>;
            attribute DOMString <span title=dom-output-defaultValue>defaultValue</span>;
@@ -27450,13 +27469,13 @@
    getting, must return the element's <a href="#form-owner">form owner</a>,
    or null if there isn't one.
 
-  <h4 id=attributes1><span class=secno>4.9.13 </span>Attributes common to
-   form controls</h4>
+  <h4 id=attributes1><span class=secno>4.9.13 </span><dfn
+   id=attributes4>Attributes common to form controls</dfn></h4>
 
-  <p class=big-issue>... <dfn id=name9 title=attr-fe-name>name</dfn> content
+  <p class=big-issue>... <dfn id=name11 title=attr-fe-name>name</dfn> content
    attribute
 
-  <p class=big-issue>... <dfn id=name10 title=dom-fe-name>name</dfn> DOM
+  <p class=big-issue>... <dfn id=name12 title=dom-fe-name>name</dfn> DOM
    attribute
 
   <p class=big-issue>... <dfn id=disabled2
@@ -27470,8 +27489,8 @@
 
   <p class=big-issue>... <dfn id=value8 title=concept-fe-value>value</dfn>
 
-  <h4 id=attributes2><span class=secno>4.9.14 </span>Attributes for form
-   submission</h4>
+  <h4 id=attributes2><span class=secno>4.9.14 </span><dfn
+   id=attributes5>Attributes for form submission</dfn></h4>
 
   <p class=big-issue>... <dfn id=action title=attr-fs-action>action</dfn>
    content attribute
@@ -27619,7 +27638,7 @@
       <ol>
        <li>
         <p>If the <var title="">field</var> element has an <code
-         title=attr-fe-name><a href="#name9">name</a></code> attribute
+         title=attr-fe-name><a href="#name11">name</a></code> attribute
          specified and value is not the empty string, let <var
          title="">name</var> be that value followed by a single U+002E FULL
          STOP (.) character. Otherwise, let <var title="">name</var> be the
@@ -27664,9 +27683,9 @@
 
      <li>
       <p>If the <var title="">field</var> element does not have a <code
-       title=attr-fe-name><a href="#name9">name</a></code> attribute
+       title=attr-fe-name><a href="#name11">name</a></code> attribute
        specified, or its <code title=attr-fe-name><a
-       href="#name9">name</a></code> attribute's value is the empty string,
+       href="#name11">name</a></code> attribute's value is the empty string,
        skip these substeps for this element: if there are any more elements
        in <var title="">controls</var>, return to the top of the <a
        href="#constructing-form-data-set">constructing the form data set</a>
@@ -27676,7 +27695,7 @@
      <li>
       <p>Let <var title="">name</var> be the value of the <var
        title="">field</var> element's <code title=attr-fe-name><a
-       href="#name9">name</a></code> attribute.
+       href="#name11">name</a></code> attribute.
 
      <li>
       <p>If the <var title="">field</var> element is a <code><a
@@ -27759,9 +27778,9 @@
 
        <td> <a href="#mutate" title=submit-mutate-action>Mutate action</a>
 
-       <td> <a href="#submit" title=submit-body>Submit as entity body</a>
+       <td> <a href="#submit0" title=submit-body>Submit as entity body</a>
 
-       <td> <a href="#submit" title=submit-body>Submit as entity body</a>
+       <td> <a href="#submit0" title=submit-body>Submit as entity body</a>
 
        <td> <a href="#delete" title=submit-delete-action>Delete action</a>
 
@@ -27770,9 +27789,9 @@
 
        <td> <a href="#mutate" title=submit-mutate-action>Mutate action</a>
 
-       <td> <a href="#submit" title=submit-body>Submit as entity body</a>
+       <td> <a href="#submit0" title=submit-body>Submit as entity body</a>
 
-       <td> <a href="#submit" title=submit-body>Submit as entity body</a>
+       <td> <a href="#submit0" title=submit-body>Submit as entity body</a>
 
        <td> <a href="#delete" title=submit-delete-action>Delete action</a>
 
@@ -27857,7 +27876,7 @@
        purpose by the steps above, then it must be navigated with <a
        href="#replacement">replacement enabled</a>.</p>
 
-     <dt><dfn id=submit title=submit-body>Submit as entity body</dfn>
+     <dt><dfn id=submit0 title=submit-body>Submit as entity body</dfn>
 
      <dd>
       <p>Let <var title="">entity body</var> be the result of encoding the
@@ -33914,7 +33933,7 @@
   // the current browsing context
   readonly attribute <a href="#window">Window</a> <a href="#window0" title=dom-window>window</a>;
   readonly attribute <a href="#window">Window</a> <a href="#self" title=dom-self>self</a>;
-           attribute DOMString <a href="#name11" title=dom-name>name</a>;
+           attribute DOMString <a href="#name13" title=dom-name>name</a>;
   [PutForwards=href] readonly attribute <a href="#location2">Location</a> <a href="#location0" title=dom-document-location>location</a>;
   readonly attribute <a href="#history3">History</a> <a href="#history2" title=dom-history>history</a>;
   readonly attribute <a href="#undomanager">UndoManager</a> <a href="#undomanager0" title=dom-undoManager>undoManager</a>;
@@ -34118,7 +34137,7 @@
    context</a> that was navigated, or null if no browsing context was
    navigated.
 
-  <p>The <dfn id=name11 title=dom-name><code>name</code></dfn> attribute of
+  <p>The <dfn id=name13 title=dom-name><code>name</code></dfn> attribute of
    the <code><a href="#window">Window</a></code> object must, on getting,
    return the current name of the <a href="#browsing1">browsing context</a>,
    and, on setting, set the name of the <a href="#browsing1">browsing
@@ -47182,13 +47201,13 @@
     characters</a>.
 
    <li>Then, the start tag may have a number of attributes, the <a
-    href="#attributes4" title=syntax-attributes>syntax for which</a> is
+    href="#attributes6" title=syntax-attributes>syntax for which</a> is
     described below. Attributes may be separated from each other by one or
     more <a href="#space" title="space character">space characters</a>.
 
    <li>After the attributes, there may be one or more <a href="#space"
     title="space character">space characters</a>. (Some attributes are
-    required to be followed by a space. See the <a href="#attributes4"
+    required to be followed by a space. See the <a href="#attributes6"
     title=syntax-attributes>attributes section</a> below.)
 
    <li>Then, if the element is one of the <a href="#void-elements">void
@@ -47225,7 +47244,7 @@
 
   <h5 id=attributes3><span class=secno>8.1.2.3. </span>Attributes</h5>
 
-  <p><dfn id=attributes4 title=syntax-attributes>Attributes</dfn> for an
+  <p><dfn id=attributes6 title=syntax-attributes>Attributes</dfn> for an
    element are expressed inside the element's start tag.
 
   <p>Attributes have a name and a value. <dfn id=attribute3

Received on Saturday, 13 September 2008 00:14:56 UTC