Bugzilla – Bug 417
Allow height/width attributes on <input type=image>. (credit: hs)
Last modified: 2011-05-19 16:11:17 CEST
Index: source =================================================================== --- source (revision 2560) +++ source (revision 2561) @@ -23936,12 +23936,14 @@ <p>The <dfn title="attr-dim-width"><code>width</code></dfn> and <dfn title="attr-dim-height"><code>height</code></dfn> attributes on <code>img</code>, <code>iframe</code>, <code>embed</code>, - <code>object</code>, and <code>video</code> elements may be - specified to give the dimensions of the visual content of the - element (the width and height respectively, relative to the nominal - direction of the output medium), in CSS pixels. The attributes, if - specified, must have values that are <span>valid positive non-zero - integers</span>.</p> + <code>object</code>, <code>video</code>, and, when their <code + title="attr-input-type">type</code> attribute is in the <span + title="attr-input-type-image">Image Button</span> state, + <code>input</code> elements may be specified to give the dimensions + of the visual content of the element (the width and height + respectively, relative to the nominal direction of the output + medium), in CSS pixels. The attributes, if specified, must have + values that are <span>valid positive non-zero integers</span>.</p> <p>The specified dimensions given may differ from the dimensions specified in the resource itself, since the resource may have a @@ -26449,6 +26451,7 @@ <dd><code title="attr-fe-disabled">disabled</code></dd> <dd><code title="attr-fs-enctype">enctype</code></dd> <dd><code title="attr-fae-form">form</code></dd> + <dd><code title="attr-dim-height">height</code></dd> <dd><code title="attr-input-list">list</code></dd> <dd><code title="attr-input-max">max</code></dd> <dd><code title="attr-input-maxlength">maxlength</code></dd> @@ -26467,6 +26470,7 @@ <dd><code title="attr-fs-target">target</code></dd> <dd><code title="attr-input-type">type</code></dd> <dd><code title="attr-input-value">value</code></dd> + <dd><code title="attr-dim-width">width</code></dd> <dt>DOM interface:</dt> <dd> <pre class="idl">interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> { @@ -26657,7 +26661,8 @@ title="attr-input-alt">alt</code>, <code title="attr-input-autocomplete">autocomplete</code>, <code title="attr-input-checked">checked</code>, <code - title="attr-fs-enctype">enctype</code>, and <code + title="attr-fs-enctype">enctype</code>, <code + title="attr-dim-height">height</code>, <code title="attr-input-list">list</code>, <code title="attr-input-max">max</code>, <code title="attr-input-maxlength">maxlength</code>, <code @@ -26670,8 +26675,9 @@ title="attr-input-required">required</code>, <code title="attr-input-size">size</code>, <code title="attr-input-src">src</code>, <code - title="attr-input-step">step</code>, and <code - title="attr-fs-target">target</code> attributes apply to an + title="attr-input-step">step</code>, <code + title="attr-fs-target">target</code>, and <code + title="attr-dim-width">width</code> attributes apply to an <code>input</code> element depends on the state of its <code title="attr-input-type">type</code> attribute. Similarly, the <code title="dom-input-checked">checked</code>, <code @@ -26864,6 +26870,31 @@ <!-- <td class="no"> · Button --> <tr> + <th> <code title="attr-dim-height">height</code> + <td class="no"> · <!-- Hidden --> + <td class="no"> · <!-- Text --> +<!-- <td class="no"> · Search --> +<!-- <td class="no"> · URL --> + <td class="no"> · <!-- E-mail --> + <td class="no"> · <!-- Password --> + <td class="no"> · <!-- Date and Time --> +<!-- <td class="no"> · Date --> +<!-- <td class="no"> · Month --> +<!-- <td class="no"> · Week --> +<!-- <td class="no"> · Time --> + <td class="no"> · <!-- Local Date and Time --> +<!-- <td class="no"> · Number --> + <td class="no"> · <!-- Range --> + <td class="no"> · <!-- Color --> + <td class="no"> · <!-- Checkbox --> +<!-- <td class="no"> · Radio Button --> + <td class="no"> · <!-- File Upload --> + <td class="no"> · <!-- Submit Button --> + <td class="yes"> Yes <!-- Image Button --> + <td class="no"> · <!-- Reset Button --> +<!-- <td class="no"> · Button --> + + <tr> <th> <code title="attr-input-list">list</code> <td class="no"> · <!-- Hidden --> <td class="yes"> Yes <!-- Text --> @@ -27239,6 +27270,31 @@ <!-- <td class="no"> · Button --> <tr> + <th> <code title="attr-dim-width">width</code> + <td class="no"> · <!-- Hidden --> + <td class="no"> · <!-- Text --> +<!-- <td class="no"> · Search --> +<!-- <td class="no"> · URL --> + <td class="no"> · <!-- E-mail --> + <td class="no"> · <!-- Password --> + <td class="no"> · <!-- Date and Time --> +<!-- <td class="no"> · Date --> +<!-- <td class="no"> · Month --> +<!-- <td class="no"> · Week --> +<!-- <td class="no"> · Time --> + <td class="no"> · <!-- Local Date and Time --> +<!-- <td class="no"> · Number --> + <td class="no"> · <!-- Range --> + <td class="no"> · <!-- Color --> + <td class="no"> · <!-- Checkbox --> +<!-- <td class="no"> · Radio Button --> + <td class="no"> · <!-- File Upload --> + <td class="no"> · <!-- Submit Button --> + <td class="yes"> Yes <!-- Image Button --> + <td class="no"> · <!-- Reset Button --> +<!-- <td class="no"> · Button --> + + <tr> <th> <code title="dom-input-checked">checked</code> <td class="no"> · <!-- Hidden --> <td class="no"> · <!-- Text --> @@ -27708,6 +27764,7 @@ <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, @@ -27721,8 +27778,9 @@ <code class="no-backref" title="attr-input-required">required</code>, <code class="no-backref" title="attr-input-size">size</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: @@ -27796,14 +27854,16 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-min">min</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, <code class="no-backref" title="attr-fs-novalidate">novalidate</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: @@ -27882,14 +27942,16 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-min">min</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, <code class="no-backref" title="attr-fs-novalidate">novalidate</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: @@ -27996,13 +28058,15 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-min">min</code>, <code class="no-backref" title="attr-fs-novalidate">novalidate</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: @@ -28064,6 +28128,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-fs-method">method</code>, @@ -28071,8 +28136,9 @@ <code class="no-backref" title="attr-input-multiple">multiple</code>, <code class="no-backref" title="attr-fs-novalidate">novalidate</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: @@ -28224,6 +28290,7 @@ <code class="no-backref" title="attr-fs-action">action</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -28231,8 +28298,9 @@ <code class="no-backref" title="attr-input-pattern">pattern</code>, <code class="no-backref" title="attr-input-placeholder">placeholder</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The <code class="no-backref" title="dom-input-checked">checked</code> @@ -28367,6 +28435,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -28374,8 +28443,9 @@ <code class="no-backref" title="attr-input-pattern">pattern</code>, <code class="no-backref" title="attr-input-placeholder">placeholder</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The <code class="no-backref" title="dom-input-checked">checked</code> @@ -28512,6 +28582,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -28519,8 +28590,9 @@ <code class="no-backref" title="attr-input-pattern">pattern</code>, <code class="no-backref" title="attr-input-placeholder">placeholder</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The <code class="no-backref" title="dom-input-checked">checked</code> @@ -28656,6 +28728,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -28663,8 +28736,9 @@ <code class="no-backref" title="attr-input-pattern">pattern</code>, <code class="no-backref" title="attr-input-placeholder">placeholder</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The <code class="no-backref" title="dom-input-checked">checked</code> @@ -28795,6 +28869,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -28802,8 +28877,9 @@ <code class="no-backref" title="attr-input-pattern">pattern</code>, <code class="no-backref" title="attr-input-placeholder">placeholder</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The <code class="no-backref" title="dom-input-checked">checked</code> @@ -28921,6 +28997,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -28928,8 +29005,9 @@ <code class="no-backref" title="attr-input-pattern">pattern</code>, <code class="no-backref" title="attr-input-placeholder">placeholder</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes do not apply to the element: <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code> and @@ -29036,6 +29114,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -29043,8 +29122,9 @@ <code class="no-backref" title="attr-input-pattern">pattern</code>, <code class="no-backref" title="attr-input-placeholder">placeholder</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes do not apply to the element: <code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code> and @@ -29189,6 +29269,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-fs-method">method</code>, <code class="no-backref" title="attr-input-multiple">multiple</code>, @@ -29198,8 +29279,9 @@ <code class="no-backref" title="attr-input-readonly">readonly</code>, <code class="no-backref" title="attr-input-required">required</code>, <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes do not apply to the element: <code class="no-backref" title="dom-input-checked">checked</code> and @@ -29270,6 +29352,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-fs-method">method</code>, @@ -29282,8 +29365,9 @@ <code class="no-backref" title="attr-input-required">required</code>, <code class="no-backref" title="attr-input-size">size</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: @@ -29349,6 +29433,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, @@ -29361,8 +29446,9 @@ <code class="no-backref" title="attr-input-readonly">readonly</code>, <code class="no-backref" title="attr-input-size">size</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: <code class="no-backref" title="dom-input-list">list</code>, @@ -29487,6 +29573,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, @@ -29499,8 +29586,9 @@ <code class="no-backref" title="attr-input-readonly">readonly</code>, <code class="no-backref" title="attr-input-size">size</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: <code class="no-backref" title="dom-input-list">list</code>, @@ -29604,6 +29692,7 @@ <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, @@ -29615,8 +29704,9 @@ <code class="no-backref" title="attr-input-readonly">readonly</code>, <code class="no-backref" title="attr-input-size">size</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The element's <code title="attr-input-value">value</code> attribute must be omitted.</p> @@ -29690,6 +29780,7 @@ <code class="no-backref" title="attr-input-alt">alt</code>, <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>, <code class="no-backref" title="attr-input-checked">checked</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, @@ -29700,8 +29791,9 @@ <code class="no-backref" title="attr-input-readonly">readonly</code>, <code class="no-backref" title="attr-input-required">required</code> <code class="no-backref" title="attr-input-size">size</code>, - <code class="no-backref" title="attr-input-src">src</code>, and - <code class="no-backref" title="attr-input-step">step</code>.</p> + <code class="no-backref" title="attr-input-src">src</code>, + <code class="no-backref" title="attr-input-step">step</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: <code class="no-backref" title="dom-input-checked">checked</code>, @@ -29822,6 +29914,9 @@ title="attr-input-alt">alt</code> attribute must also be present, and must contain a non-empty string.</p> + <p>The <code>input</code> element supports <span>dimension + attributes</span>.</p> + <hr> <p>If the <code title="attr-input-src">src</code> attribute is set, @@ -29887,10 +29982,12 @@ <code title="attr-fs-action">action</code>, <code title="attr-input-alt">alt</code>, <code title="attr-fs-enctype">enctype</code>, + <code title="attr-dim-height">height</code>, <code title="attr-fs-method">method</code>, <code title="attr-fs-novalidate">novalidate</code>, - <code title="attr-input-src">src</code>, and - <code title="attr-fs-target">target</code> content attributes; + <code title="attr-input-src">src</code>, + <code title="attr-fs-target">target</code>, and + <code title="attr-dim-width">width</code> content attributes; <code title="dom-input-value">value</code> DOM attribute.</p> <p>The <code title="dom-input-value">value</code> DOM attribute is @@ -29977,6 +30074,7 @@ <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, @@ -29990,8 +30088,9 @@ <code class="no-backref" title="attr-input-required">required</code> <code class="no-backref" title="attr-input-size">size</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: <code class="no-backref" title="dom-input-checked">checked</code>, @@ -30044,6 +30143,7 @@ <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>, <code class="no-backref" title="attr-input-checked">checked</code>, <code class="no-backref" title="attr-fs-enctype">enctype</code>, + <code class="no-backref" title="attr-dim-height">height</code>, <code class="no-backref" title="attr-input-list">list</code>, <code class="no-backref" title="attr-input-max">max</code>, <code class="no-backref" title="attr-input-maxlength">maxlength</code>, @@ -30057,8 +30157,9 @@ <code class="no-backref" title="attr-input-required">required</code> <code class="no-backref" title="attr-input-size">size</code>, <code class="no-backref" title="attr-input-src">src</code>, - <code class="no-backref" title="attr-input-step">step</code>, and - <code class="no-backref" title="attr-fs-target">target</code>.</p> + <code class="no-backref" title="attr-input-step">step</code>, + <code class="no-backref" title="attr-fs-target">target</code>, and + <code class="no-backref" title="attr-dim-width">width</code>.</p> <p>The following DOM attributes and methods do not apply to the element: <code class="no-backref" title="dom-input-checked">checked</code>,
I opened bug 379 for this a couple weeks back. http://bugzilla.validator.nu/show_bug.cgi?id=379