Skip to content

Commit

Permalink
[giow] (3) Make width/height attributes not apply to <input type=imag…
Browse files Browse the repository at this point in the history
…e src=404> so that the button text doesn't get cut off in the common case.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17630
Affected topics: Rendering

git-svn-id: http://svn.whatwg.org/webapps@7614 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 30, 2012
1 parent 6b75ef1 commit a898f54
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
11 changes: 5 additions & 6 deletions complete.html
Expand Up @@ -97548,12 +97548,11 @@ <h4 id=attributes-for-embedded-content-and-images><span class=secno>14.4.3 </spa
'border-right-style', 'border-bottom-style', and 'border-left-style'
properties to the value 'solid'.</p>

<p id=dimRendering>The <code title=attr-dim-width><a href=#attr-dim-width>width</a></code>
and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes on
<code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
<code><a href=#the-img-element>img</a></code>, <code><a href=#the-object-element>object</a></code> or <code><a href=#the-video-element>video</a></code>
elements, and <code><a href=#the-input-element>input</a></code> elements with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a> state, <a href=#maps-to-the-dimension-property title="maps to the dimension property">map to the dimension
properties</a> 'width' and 'height' on the element
<p id=dimRendering>The <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes on <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-embed-element>embed</a></code>,
<code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-object-element>object</a></code> or <code><a href=#the-video-element>video</a></code> elements, and <code><a href=#the-input-element>input</a></code>
elements with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a> state and that either represents an image or
that the user expects will eventually represent an image, <a href=#maps-to-the-dimension-property title="maps to the dimension
property">map to the dimension properties</a> 'width' and 'height' on the element
respectively.</p>

</div>
Expand Down
11 changes: 5 additions & 6 deletions index
Expand Up @@ -97548,12 +97548,11 @@ object[align=bottom i] {
'border-right-style', 'border-bottom-style', and 'border-left-style'
properties to the value 'solid'.</p>

<p id=dimRendering>The <code title=attr-dim-width><a href=#attr-dim-width>width</a></code>
and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes on
<code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-iframe-element>iframe</a></code>,
<code><a href=#the-img-element>img</a></code>, <code><a href=#the-object-element>object</a></code> or <code><a href=#the-video-element>video</a></code>
elements, and <code><a href=#the-input-element>input</a></code> elements with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a> state, <a href=#maps-to-the-dimension-property title="maps to the dimension property">map to the dimension
properties</a> 'width' and 'height' on the element
<p id=dimRendering>The <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> and <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> attributes on <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-embed-element>embed</a></code>,
<code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-object-element>object</a></code> or <code><a href=#the-video-element>video</a></code> elements, and <code><a href=#the-input-element>input</a></code>
elements with a <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a> state and that either represents an image or
that the user expects will eventually represent an image, <a href=#maps-to-the-dimension-property title="maps to the dimension
property">map to the dimension properties</a> 'width' and 'height' on the element
respectively.</p>

</div>
Expand Down
16 changes: 7 additions & 9 deletions source
Expand Up @@ -113990,15 +113990,13 @@ object[align=bottom i] {
'border-right-style', 'border-bottom-style', and 'border-left-style'
properties to the value 'solid'.</p>

<p id="dimRendering">The <code title="attr-dim-width">width</code>
and <code title="attr-dim-height">height</code> attributes on
<code>applet</code>, <code>embed</code>, <code>iframe</code>,
<code>img</code>, <code>object</code> or <code>video</code>
elements, and <code>input</code> elements with a <code
title="attr-input-type">type</code> attribute in the <span
title="attr-input-type-image">Image Button</span> state, <span
title="maps to the dimension property">map to the dimension
properties</span> 'width' and 'height' on the element
<p id="dimRendering">The <code title="attr-dim-width">width</code> and <code
title="attr-dim-height">height</code> attributes on <code>applet</code>, <code>embed</code>,
<code>iframe</code>, <code>object</code> or <code>video</code> elements, and <code>input</code>
elements with a <code title="attr-input-type">type</code> attribute in the <span
title="attr-input-type-image">Image Button</span> state and that either represents an image or
that the user expects will eventually represent an image, <span title="maps to the dimension
property">map to the dimension properties</span> 'width' and 'height' on the element
respectively.</p>

</div>
Expand Down

0 comments on commit a898f54

Please sign in to comment.