- From: poot <cvsmail@w3.org>
- Date: Thu, 11 Sep 2008 09:29:31 +0900 (JST)
- To: public-html-diffs@w3.org
WF2: More things that make form controls not be submitted. (whatwg r2163) 4.11.6.5. Using the command element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#using3 HTMLCommandElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#htmlcommandelement click() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#click checked http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#checked1 checked http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#checked0 Checked State http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#checked3 checked http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#checked2 checked http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#checked4 checked http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#checked elements http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#elements3 unchecked http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#unchecked HTMLInputElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#htmlinputelement 4.11.6.4. Using the option element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#using2 command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#command0 4.11.6.2. Using the button element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#using0 Command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#command2 4.9.1 The form element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#the-form 4.11.6.6. Using the bb element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#using4 indeterminate http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#indeterminate To establish how a simple text cell should be presented http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#cellType2 buttons http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#buttons field elements http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#field Type http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#type19 listed form elements http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#listed default http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#default3 type http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#type14 ID http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#id1 form http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#form radiogroup http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#radiogroup0 label http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#label1 editable http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#editable 4.11.6.3. Using the input element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#using1 If form is in a Document that has no associated browsing context or whose browsing context has its sandboxed forms browsing context flag set, then abort these steps without doing anything. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#sandboxSubmitBlocked 4.9.4 The button element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#the-button disabled http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#disabled11 4.11.6.1. Using the a element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#using Disabled State http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#disabled10 button http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#button Class name Applies to Description checked Cells The cell has a checkbox and it is checked. (The cyclable and progress classes override this, though.) cyclable Cells The cell can be cycled through multiple values. (The progress class overrides this, though.) editable Cells The cell can be edited. (The cyclable, progress, checked, unchecked and indeterminate classes override this, though.) header Rows The row is a heading, not a data row. indeterminate Cells The cell has a checkbox, and it can be set to an indeterminate state. If neither the checked nor unchecked classes are present, then the checkbox is in that state, too. (The cyclable and progress classes override this, though.) initially-hidden Columns The column will not be shown when the datagrid is initially rendered. If this class is not present on the column when the datagrid is initially rendered, the column will be visible if space allows. initially-closed Rows The row will be closed when the datagrid is initially rendered. If neither this class no the initially-open class is present on the row when the datagrid is initially rendered, the initial state will depend on platform conventions. initially-open Rows The row will be opened when the datagrid is initially rendered. If neither this class nor the initially-closed class is present on the row when the datagrid is initially rendered, the initial state will depend on platform conventions. progress Cells The cell is a progress bar. reversed Columns If the cell is sorted, the sort direction is descending, instead of ascending. selectable-separator Rows The row is a normal, selectable, data row, except that instead of having data, it only has a separator. (The header and separator classes override this, though.) separator Rows The row is a separator row, not a data row. (The header class overrides this, though.) sortable Columns The data can be sorted by this column. sorted Columns The data is sorted by this column. Unless the reversed class is also present, the sort direction is ascending. unchecked Cels The cell has a checkbox and, unless the checked class is present as well, it is unchecked. (The cyclable and progress classes override this, though.) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#datagridClassSummary length http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#length6 disabled http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#disabled7 4.11.2.4.1. Common default data provider method definitions for cells http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#commonDefaultDataGridMethodDefinitions disabled http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#disabled8 form-associated elements http://people.w3.org/mike/diffs/html5/spec/Overview.1.1336.html#form-associated http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1335&r2=1.1336&f=h http://html5.org/tools/web-apps-tracker?from=2162&to=2163 =================================================================== 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:30:10 UTC