hixie: Make <input type=image> a command also. (whatwg r3506)

hixie: Make <input type=image> a command also. (whatwg r3506)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2703&r2=1.2704&f=h
http://html5.org/tools/web-apps-tracker?from=3505&to=3506

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2703
retrieving revision 1.2704
diff -u -d -r1.2703 -r1.2704
--- Overview.html 31 Jul 2009 00:37:12 -0000 1.2703
+++ Overview.html 31 Jul 2009 00:57:16 -0000 1.2704
@@ -35981,7 +35981,7 @@
 
   <h5 id="using-the-input-element-to-define-a-command"><span class="secno">4.11.6.3 </span><dfn title="input-command">Using the <code>input</code> element to define a command</dfn></h5>
 
-  <p>An <code><a href="#the-input-element">input</a></code> element whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in one of the <a href="#submit-button-state" title="attr-input-type-submit">Submit Button</a>, <a href="#reset-button-state" title="attr-input-type-reset">Reset Button</a>, <a href="#button-state" title="attr-input-type-button">Button</a>, <a href="#radio-button-state" title="attr-input-type-radio">Radio Button</a>, or <a href="#checkbox-state" title="attr-input-type-checkbox">Checkbox</a> states <a href="#concept-command" title="concept-command">defines a command</a>.</p>
+  <p>An <code><a href="#the-input-element">input</a></code> element whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in one of the <a href="#submit-button-state" title="attr-input-type-submit">Submit Button</a>, <a href="#reset-button-state" title="attr-input-type-reset">Reset Button</a>, <a href="#image-button-state" title="attr-input-type-image">Image Button</a>, <a href="#button-state" title="attr-input-type-button">Button</a>, <a href="#radio-button-state" title="attr-input-type-radio">Radio Button</a>, or <a href="#checkbox-state" title="attr-input-type-checkbox">Checkbox</a> states <a href="#concept-command" title="concept-command">defines a command</a>.</p>
 
   <p>The <a href="#command-facet-type" title="command-facet-Type">Type</a> of the command
   is "radio" if the <code title="attr-input-type"><a href="#attr-input-type">type</a></code>
@@ -36017,8 +36017,13 @@
   <a href="#command-facet-hint" title="command-facet-Hint">Hint</a> is the empty
   string.</p>
 
-  <p>There is no <a href="#command-facet-icon" title="command-facet-Icon">Icon</a> for the
-  command.</p>
+  <p>If the element's <code title="attr-input-type"><a href="#attr-input-type">type</a></code>
+  attribute is in the <a href="#image-button-state" title="attr-input-type-image">Image
+  Button</a> state, and the element has a <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute, and that attribute's
+  value can be successfully <a href="#resolve-a-url" title="resolve a
+  url">resolved</a> relative to the element, then the <a href="#command-facet-icon" title="command-facet-Icon">Icon</a> of the command is the
+  <a href="#absolute-url">absolute URL</a> obtained from resolving that attribute
+  that way. Otherwise, there is no <a href="#command-facet-icon" title="command-facet-Icon">Icon</a> for the command.</p>
 
   <p>The <a href="#command-facet-accesskey" title="command-facet-AccessKey">AccessKey</a> of the
   command is the element's <a href="#assigned-access-key">assigned access key</a>, if

Received on Friday, 31 July 2009 00:58:12 UTC