html5/spec Overview.html,1.1335,1.1336

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

Modified Files:
	Overview.html 
Log Message:
WF2: More things that make form controls not be submitted. (whatwg r2163)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1335
retrieving revision 1.1336
diff -u -d -r1.1335 -r1.1336
--- Overview.html	10 Sep 2008 21:44:47 -0000	1.1335
+++ Overview.html	11 Sep 2008 00:25:37 -0000	1.1336
@@ -27,7 +27,7 @@
     for HTML and XHTML</h2>
 
    <h2 class="no-num no-toc" id=editors0><!-- "W3C Working Draft" -->
-    Editor's Draft <!--ZZZ-->10 September 2008</h2>
+    Editor's Draft <!--ZZZ-->11 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 10
+   the W3C Recommendation track. <!--ZZZ:--> This specification is the 11
    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) -->
@@ -26529,7 +26529,7 @@
    content attribute with a matching <code title=dom-fae-form><a
    href="#form1">form</a></code> DOM attribute.
 
-  <p>The controls that end up being submitted back to the server are <dfn
+  <p>The controls that can end up being submitted back to the server are <dfn
    id=field title=category-field>field elements</dfn>.
 
   <p>The controls that are exposed to the <code title=dom-form-elements><a
@@ -26539,6 +26539,11 @@
    title=category-listed-form-element>listed form elements</dfn>. This is a
    superset of the <a href="#field" title=category-field>field elements</a>.
 
+  <p>Some <a href="#field" title=category-field>field elements</a> can be,
+   depending on their attributes, <dfn id=buttons
+   title=concept-button>buttons</dfn>. The prose below defines when an
+   element is a button.
+
   <h4 id=the-form><span class=secno>4.9.1 </span>The <dfn
    id=form><code>form</code></dfn> element</h4>
 
@@ -26607,9 +26612,9 @@
    whose <a href="#form-owner">form owner</a> is the <code><a
    href="#form">form</a></code> element, with the exception of <code><a
    href="#input0">input</a></code> elements whose <code
-   title=attr-input-type>type</code> attribute is in the <span>Image
-   Button</span> state, which must, for historical reasons, be excluded from
-   this particular collection.
+   title=attr-input-type>type</code> attribute is in the <span
+   title=attr-input-type-image-state>Image Button</span> state, which must,
+   for historical reasons, be excluded from this particular collection.
 
   <p>The <dfn id=length6 title=dom-form-length><code>length</code></dfn> DOM
    attribute must return the number of nodes <a href="#represents"
@@ -26827,6 +26832,9 @@
 
   <p class=big-issue>...
 
+  <p class=big-issue>... <dfn id=checked
+   title=concept-input-checked>checked</dfn>
+
   <h4 id=the-button><span class=secno>4.9.4 </span>The <dfn
    id=button><code>button</code></dfn> element</h4>
 
@@ -27455,8 +27463,8 @@
      order</a>.
 
    <li>
-    <p>Let the <dfn id=form-data><var>form data set</var></dfn> be a list of
-     name/value pairs, initially empty.
+    <p>Let the <var title="">form data set</var> be a list of name/value
+     pairs, initially empty.
 
    <li>
     <p>For each element <var title="">field</var> in <var
@@ -27478,13 +27486,37 @@
         href="#name9">name</a></code> attribute's value is the empty string,
         and it is not an <code><a href="#input0">input</a></code> elements
         whose <code title=attr-input-type>type</code> attribute is in the
-        <span>Image Button</span> state.
+        <span title=attr-input-type-image-state>Image Button</span> state.
 
        <li>The <var title="">field</var> element is <a href="#disabled2"
         title=concept-fe-disabled>disabled</a>.
 
-       <li class=big-issue>...
+       <li>The <var title="">field</var> element is a <a href="#buttons"
+        title=concept-button>button</a> but it is not <var
+        title="">submitter</var>.
+
+       <li>The <var title="">field</var> element is an <code><a
+        href="#input0">input</a></code> element whose <code
+        title=attr-input-type>type</code> attribute is in the <span
+        title=attr-input-type-checkbox-state>Checkbox</span> state and the
+        control is not <a href="#checked"
+        title=concept-input-checked>checked</a>.
+
+       <li>The <var title="">field</var> element is an <code><a
+        href="#input0">input</a></code> element whose <code
+        title=attr-input-type>type</code> attribute is in the <span
+        title=attr-input-type-radio-state>Radio Button</span> state and the
+        control is not <a href="#checked"
+        title=concept-input-checked>checked</a>.
+
+       <li>The <var title="">field</var> element is an <code><a
+        href="#input0">input</a></code> element whose <code
+        title=attr-input-type>type</code> attribute is in the <span
+        title=attr-input-type-file-state>File Upload</span> state but the
+        control does not have any files selected.
       </ul>
+
+     <li class=big-issue>...
     </ol>
 
    <li>
@@ -28896,7 +28928,7 @@
      <th>Description
 
     <tr>
-     <td><!--checked--><dfn id=checked
+     <td><!--checked--><dfn id=checked0
       title=datagrid-cell-class-checked><code>checked</code></dfn>
 
      <td>Cells
@@ -28929,11 +28961,11 @@
       title=datagrid-cell-class-progress><a
       href="#progress1">progress</a></code>, <code
       title=datagrid-cell-class-checked><a
-      href="#checked">checked</a></code>, <code
+      href="#checked0">checked</a></code>, <code
       title=datagrid-cell-class-checked><a
-      href="#checked">unchecked</a></code> and <code
+      href="#checked0">unchecked</a></code> and <code
       title=datagrid-cell-class-checked><a
-      href="#checked">indeterminate</a></code> classes override this,
+      href="#checked0">indeterminate</a></code> classes override this,
       though.)
 
     <tr>
@@ -28952,9 +28984,9 @@
 
      <td>The cell has a checkbox, and it can be set to an indeterminate
       state. If neither the <code title=datagrid-cell-class-checked><a
-      href="#checked">checked</a></code> nor <code
+      href="#checked0">checked</a></code> nor <code
       title=datagrid-cell-class-checked><a
-      href="#checked">unchecked</a></code> classes are present, then the
+      href="#checked0">unchecked</a></code> classes are present, then the
       checkbox is in that state, too. (The <code
       title=datagrid-cell-class-cyclable><a
       href="#cyclable">cyclable</a></code> and <code
@@ -29066,9 +29098,9 @@
      <td>Cells
 
      <td>The cell has a checkbox and, unless the <code
-      title=datagrid-cell-class-checked><a href="#checked">checked</a></code>
-      class is present as well, it is unchecked. (The <code
-      title=datagrid-cell-class-cyclable><a
+      title=datagrid-cell-class-checked><a
+      href="#checked0">checked</a></code> class is present as well, it is
+      unchecked. (The <code title=datagrid-cell-class-cyclable><a
       href="#cyclable">cyclable</a></code> and <code
       title=datagrid-cell-class-progress><a
       href="#progress1">progress</a></code> classes override this, though.)
@@ -29703,7 +29735,7 @@
     <p>The <code title=dom-provider-getCellClasses><a
      href="#getcellclasses">getCellClasses()</a></code> method must add the
      <code title=datagrid-cell-class-checked><a
-     href="#checked">checked</a></code> class if the <code><a
+     href="#checked0">checked</a></code> class if the <code><a
      href="#input0">input</a></code> element is <span
      title=dom-input-checked>checked</span>, and the <code
      title=datagrid-cell-class-unchecked><a
@@ -30118,7 +30150,7 @@
    <dt id=cellType2>To establish how a simple text cell should be presented
 
    <dd>Check whether one of the <code title=datagrid-cell-class-checked><a
-    href="#checked">checked</a></code>, <code
+    href="#checked0">checked</a></code>, <code
     title=datagrid-cell-class-unchecked><a
     href="#unchecked">unchecked</a></code>, or <code
     title=datagrid-cell-class-indeterminate><a
@@ -30134,8 +30166,8 @@
    <dt>To establish the state of a cell's checkbox, if it has one
 
    <dd>Check whether the <code title=datagrid-cell-class-checked><a
-    href="#checked">checked</a></code> class applies to the cell. If it does,
-    the cell is checked. Otherwise, check whether the <code
+    href="#checked0">checked</a></code> class applies to the cell. If it
+    does, the cell is checked. Otherwise, check whether the <code
     title=datagrid-cell-class-unchecked><a
     href="#unchecked">unchecked</a></code> class applies to the cell. If it
     does, the cell is unchecked. Otherwise, the <code
@@ -30146,7 +30178,7 @@
     href="#indeterminate">indeterminate</a></code> class applies to the cell,
     the checkbox is a tristate checkbox, and the user can set it to the
     indeterminate state. Otherwise, only the <code
-    title=datagrid-cell-class-checked><a href="#checked">checked</a></code>
+    title=datagrid-cell-class-checked><a href="#checked0">checked</a></code>
     and/or <code title=datagrid-cell-class-unchecked><a
     href="#unchecked">unchecked</a></code> classes apply to the cell, and the
     cell can only be toggled between those two states.
@@ -30559,7 +30591,7 @@
     href="#disabled7">disabled</a></code>
 
    <dd><code title=attr-command-checked><a
-    href="#checked0">checked</a></code>
+    href="#checked1">checked</a></code>
 
    <dd><code title=attr-command-radiogroup><a
     href="#radiogroup">radiogroup</a></code>
@@ -30580,7 +30612,7 @@
            attribute DOMString <a href="#label1" title=dom-command-label>label</a>;
            attribute DOMString <a href="#icon0" title=dom-command-icon>icon</a>;
            attribute boolean <a href="#disabled8" title=dom-command-disabled>disabled</a>;
-           attribute boolean <a href="#checked1" title=dom-command-checked>checked</a>;
+           attribute boolean <a href="#checked2" title=dom-command-checked>checked</a>;
            attribute DOMString <a href="#radiogroup0" title=dom-command-radiogroup>radiogroup</a>;
            attribute boolean <a href="#default3" title=dom-command-default>default</a>;
  void <a href="#click" title=dom-command-click>click</a>(); // shadows <code><a href="#htmlelement">HTMLElement</a></code>.<code title=dom-click><a href="#click1">click()</a></code>
@@ -30631,7 +30663,7 @@
    the faucet is already open, but the command "eat" would be marked hidden
    since the faucet could never be eaten.
 
-  <p>The <dfn id=checked0
+  <p>The <dfn id=checked1
    title=attr-command-checked><code>checked</code></dfn> attribute is a <a
    href="#boolean0">boolean attribute</a> that, if present, indicates that
    the command is selected.
@@ -30664,7 +30696,7 @@
   <p>The <dfn id=type14 title=dom-command-type><code>type</code></dfn>, <dfn
    id=label1 title=dom-command-label><code>label</code></dfn>, <dfn id=icon0
    title=dom-command-icon><code>icon</code></dfn>, <dfn id=disabled8
-   title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=checked1
+   title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=checked2
    title=dom-command-checked><code>checked</code></dfn>, <dfn id=radiogroup0
    title=dom-command-radiogroup><code>radiogroup</code></dfn>, and <dfn
    id=default3 title=dom-command-default><code>default</code></dfn> DOM
@@ -30682,9 +30714,9 @@
 
    <dd>
     <p>If the element has a <code title=attr-command-checked><a
-     href="#checked0">checked</a></code> attribute, the UA must remove that
+     href="#checked1">checked</a></code> attribute, the UA must remove that
      attribute. Otherwise, the UA must add a <code
-     title=attr-command-checked><a href="#checked0">checked</a></code>
+     title=attr-command-checked><a href="#checked1">checked</a></code>
      attribute, with the literal value <code title="">checked</code>. The UA
      must then <a href="#firing">fire a <code title="">click</code> event</a>
      at the element.
@@ -30702,12 +30734,12 @@
      title=attr-command-radiogroup><a
      href="#radiogroup">radiogroup</a></code> attributes as if they were the
      empty string), and has a <code title=attr-command-checked><a
-     href="#checked0">checked</a></code> attribute, must remove that
+     href="#checked1">checked</a></code> attribute, must remove that
      attribute and <a href="#firing">fire a <code title="">click</code>
      event</a> at the element.</p>
 
     <p>Then, the element's <code title=attr-command-checked><a
-     href="#checked0">checked</a></code> attribute attribute must be set to
+     href="#checked1">checked</a></code> attribute attribute must be set to
      the literal value <code title="">checked</code> and a <span title="file
      a click event"><code title="">click</code> event must be fired</span> at
      the element.
@@ -31325,10 +31357,10 @@
 
    <dd>The kind of command: "command", meaning it is a normal command;
     "radio", meaning that triggering the command will, amongst other things,
-    set the <a href="#checked2" title=command-facet-CheckedState>Checked
+    set the <a href="#checked3" title=command-facet-CheckedState>Checked
     State</a> to true (and probably uncheck some other commands); or
     "checkbox", meaning that triggering the command will, amongst other
-    things, toggle the value of the <a href="#checked2"
+    things, toggle the value of the <a href="#checked3"
     title=command-facet-CheckedState>Checked State</a>.
 
    <dt><dfn id=id1 title=command-facet-ID>ID</dfn>
@@ -31362,7 +31394,7 @@
 
    <dd>Whether the command is relevant and can be triggered or not.
 
-   <dt><dfn id=checked2 title=command-facet-CheckedState>Checked State</dfn>
+   <dt><dfn id=checked3 title=command-facet-CheckedState>Checked State</dfn>
 
    <dd>Whether the command is checked or not.
 
@@ -31400,7 +31432,7 @@
   readonly attribute DOMString <a href="#icon2" title=dom-command-ro-icon>icon</a>;
   readonly attribute boolean <a href="#hidden0" title=dom-command-ro-hidden>hidden</a>;
   readonly attribute boolean <a href="#disabled11" title=dom-command-ro-disabled>disabled</a>;              
-  readonly attribute boolean <a href="#checked3" title=dom-command-ro-checked>checked</a>;              
+  readonly attribute boolean <a href="#checked4" title=dom-command-ro-checked>checked</a>;              
   void <a href="#click0" title=dom-command-ro-click>click</a>();
   readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#triggers0" title=dom-command-ro-triggers>triggers</a>;
   readonly attribute <a href="#command0">Command</a> <span title=dom-command-ro-command>command</span>;
@@ -31483,9 +31515,9 @@
    href="#option">option</a></code>, and <code><a
    href="#command0">command</a></code> elements.
 
-  <p>The <dfn id=checked3
+  <p>The <dfn id=checked4
    title=dom-command-ro-checked><code>checked</code></dfn> attribute must
-   return true if the command's <a href="#checked2"
+   return true if the command's <a href="#checked3"
    title=command-facet-CheckedState>Checked State</a> is that the command is
    checked, and false if it is that the command is not checked. If the
    element does not define a command, the attribute must return false. This
@@ -31565,7 +31597,7 @@
    State</a> facet of the command is always false. (The command is always
    enabled.)
 
-  <p>The <a href="#checked2" title=command-facet-CheckedState>Checked
+  <p>The <a href="#checked3" title=command-facet-CheckedState>Checked
    State</a> of the command is always false. (The command is never checked.)
 
   <p>The <a href="#action" title=command-facet-Action>Action</a> of the
@@ -31584,7 +31616,7 @@
    title=command-facet-Label>Label</a>, <a href="#hint"
    title=command-facet-Hint>Hint</a>, <a href="#icon1"
    title=command-facet-Icon>Icon</a>, <a href="#hidden"
-   title=command-facet-HiddenState>Hidden State</a>, <a href="#checked2"
+   title=command-facet-HiddenState>Hidden State</a>, <a href="#checked3"
    title=command-facet-CheckedState>Checked State</a>, and <a href="#action"
    title=command-facet-Action>Action</a> facets of the command are determined
    <a href="#using5" title=a-command>as for <code>a</code> elements</a> (see
@@ -31661,7 +31693,7 @@
    become disabled at other times too (for example, the <code>move-up</code>
    input type is disabled when it would have no effect).
 
-  <p>The <a href="#checked2" title=command-facet-CheckedState>Checked
+  <p>The <a href="#checked3" title=command-facet-CheckedState>Checked
    State</a> of the command is true if the command is of <a href="#type19"
    title=command-facet-Type>Type</a> "radio" or "checkbox" and the element
    has a <code title=attr-input-checked>checked</code> attribute, and false
@@ -31719,7 +31751,7 @@
    State</a> of the command is true (disabled) if the element has a <code
    title=attr-option-disabled>disabled</code> attribute, and false otherwise.
 
-  <p>The <a href="#checked2" title=command-facet-CheckedState>Checked
+  <p>The <a href="#checked3" title=command-facet-CheckedState>Checked
    State</a> of the command is true (checked) if the element's <code
    title=dom-option-selected>selected</code> DOM attribute is true, and false
    otherwise.
@@ -31783,9 +31815,9 @@
    title=attr-command-disabled><a href="#disabled7">disabled</a></code>
    attribute, and false otherwise.
 
-  <p>The <a href="#checked2" title=command-facet-CheckedState>Checked
+  <p>The <a href="#checked3" title=command-facet-CheckedState>Checked
    State</a> of the command is true (checked) if the element has a <code
-   title=attr-command-checked><a href="#checked0">checked</a></code>
+   title=attr-command-checked><a href="#checked1">checked</a></code>
    attribute, and false otherwise.
 
   <p>The <a href="#action" title=command-facet-Action>Action</a> of the
@@ -31851,7 +31883,7 @@
    href="#type15">type</a></code> attribute's state's <i>relevance</i> is
    false, and true otherwise.
 
-  <p>The <a href="#checked2" title=command-facet-CheckedState>Checked
+  <p>The <a href="#checked3" title=command-facet-CheckedState>Checked
    State</a> of the command is always false. (The command is never checked.)
 
   <p>The <a href="#action" title=command-facet-Action>Action</a> of the

Received on Thursday, 11 September 2008 00:26:15 UTC