Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (3) Fix a accidental (?) change in r7614 that undefined <img w…
…idth> and <img height>; not sure what I was doing there.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24327
Affected topics: DOM APIs, HTML, Rendering

git-svn-id: http://svn.whatwg.org/webapps@8410 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 21, 2014
1 parent a58cd1d commit c759c79
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
13 changes: 9 additions & 4 deletions complete.html
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 18 January 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -12047,7 +12047,7 @@ <h4 id=wai-aria><span class=secno>3.2.7 </span><dfn>WAI-ARIA</dfn></h4>

<td>Role must be either
<code title=attr-aria-role-directory>directory</code>,
<code title=attr-aria-role-directory>group</code>,
<code title=attr-aria-role-group>group</code>,
<code title=attr-aria-role-list>list</code>,
<code title=attr-aria-role-listbox>listbox</code>,
<code title=attr-aria-role-menu>menu</code>,
Expand Down Expand Up @@ -12086,7 +12086,7 @@ <h4 id=wai-aria><span class=secno>3.2.7 </span><dfn>WAI-ARIA</dfn></h4>

<td>Role must be either
<code title=attr-aria-role-directory>directory</code>,
<code title=attr-aria-role-directory>group</code>,
<code title=attr-aria-role-group>group</code>,
<code title=attr-aria-role-list>list</code>,
<code title=attr-aria-role-listbox>listbox</code>,
<code title=attr-aria-role-menu>menu</code>,
Expand Down Expand Up @@ -21618,6 +21618,7 @@ <h4 id=the-img-element><span class=secno>4.7.1 </span>The <dfn><code>img</code><

<dd>

<!--CLEANUP-->
<p>These attributes return the actual rendered dimensions of the
image, or zero if the dimensions are not known.</p>

Expand All @@ -21631,6 +21632,7 @@ <h4 id=the-img-element><span class=secno>4.7.1 </span>The <dfn><code>img</code><

<dd>

<!--CLEANUP-->
<p>These attributes return the intrinsic dimensions of the image,
or zero if the dimensions are not known.</p>

Expand All @@ -21640,6 +21642,7 @@ <h4 id=the-img-element><span class=secno>4.7.1 </span>The <dfn><code>img</code><

<dd>

<!--CLEANUP-->
<p>Returns true if the image has been completely downloaded or if
no image is specified; otherwise, returns false.</p>

Expand All @@ -21649,6 +21652,7 @@ <h4 id=the-img-element><span class=secno>4.7.1 </span>The <dfn><code>img</code><

<dd>

<!--CLEANUP-->
<p>Returns a new <code><a href=#the-img-element>img</a></code> element, with 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 set to the values
passed in the relevant arguments, if applicable.</p>

Expand Down Expand Up @@ -95013,8 +95017,9 @@ <h4 id=attributes-for-embedded-content-and-images><span class=secno>14.4.3 </spa
'border-top-style', 'border-right-style', 'border-bottom-style', and 'border-left-style'
properties to the value 'solid'.</p>

<!--CLEANUP-->
<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>
<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 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
Expand Down
13 changes: 9 additions & 4 deletions index
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 18 January 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -12047,7 +12047,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )

<td>Role must be either
<code title=attr-aria-role-directory>directory</code>,
<code title=attr-aria-role-directory>group</code>,
<code title=attr-aria-role-group>group</code>,
<code title=attr-aria-role-list>list</code>,
<code title=attr-aria-role-listbox>listbox</code>,
<code title=attr-aria-role-menu>menu</code>,
Expand Down Expand Up @@ -12086,7 +12086,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )

<td>Role must be either
<code title=attr-aria-role-directory>directory</code>,
<code title=attr-aria-role-directory>group</code>,
<code title=attr-aria-role-group>group</code>,
<code title=attr-aria-role-list>list</code>,
<code title=attr-aria-role-listbox>listbox</code>,
<code title=attr-aria-role-menu>menu</code>,
Expand Down Expand Up @@ -21618,6 +21618,7 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement

<dd>

<!--CLEANUP-->
<p>These attributes return the actual rendered dimensions of the
image, or zero if the dimensions are not known.</p>

Expand All @@ -21631,6 +21632,7 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement

<dd>

<!--CLEANUP-->
<p>These attributes return the intrinsic dimensions of the image,
or zero if the dimensions are not known.</p>

Expand All @@ -21640,6 +21642,7 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement

<dd>

<!--CLEANUP-->
<p>Returns true if the image has been completely downloaded or if
no image is specified; otherwise, returns false.</p>

Expand All @@ -21649,6 +21652,7 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement

<dd>

<!--CLEANUP-->
<p>Returns a new <code><a href=#the-img-element>img</a></code> element, with 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 set to the values
passed in the relevant arguments, if applicable.</p>

Expand Down Expand Up @@ -95013,8 +95017,9 @@ object[align=bottom i] {
'border-top-style', 'border-right-style', 'border-bottom-style', and 'border-left-style'
properties to the value 'solid'.</p>

<!--CLEANUP-->
<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>
<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 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
Expand Down
11 changes: 8 additions & 3 deletions source
Expand Up @@ -12376,7 +12376,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )

<td>Role must be either
<code data-x="attr-aria-role-directory">directory</code>,
<code data-x="attr-aria-role-directory">group</code>,
<code data-x="attr-aria-role-group">group</code>,
<code data-x="attr-aria-role-list">list</code>,
<code data-x="attr-aria-role-listbox">listbox</code>,
<code data-x="attr-aria-role-menu">menu</code>,
Expand Down Expand Up @@ -12421,7 +12421,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )

<td>Role must be either
<code data-x="attr-aria-role-directory">directory</code>,
<code data-x="attr-aria-role-directory">group</code>,
<code data-x="attr-aria-role-group">group</code>,
<code data-x="attr-aria-role-list">list</code>,
<code data-x="attr-aria-role-listbox">listbox</code>,
<code data-x="attr-aria-role-menu">menu</code>,
Expand Down Expand Up @@ -22719,6 +22719,7 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<dd>

<!--CLEANUP-->
<p>These attributes return the actual rendered dimensions of the
image, or zero if the dimensions are not known.</p>

Expand All @@ -22732,6 +22733,7 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<dd>

<!--CLEANUP-->
<p>These attributes return the intrinsic dimensions of the image,
or zero if the dimensions are not known.</p>

Expand All @@ -22741,6 +22743,7 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<dd>

<!--CLEANUP-->
<p>Returns true if the image has been completely downloaded or if
no image is specified; otherwise, returns false.</p>

Expand All @@ -22750,6 +22753,7 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {

<dd>

<!--CLEANUP-->
<p>Returns a new <code>img</code> element, with the <code
data-x="attr-dim-width">width</code> and <code
data-x="attr-dim-height">height</code> attributes set to the values
Expand Down Expand Up @@ -105787,9 +105791,10 @@ object[align=bottom i] {
'border-top-style', 'border-right-style', 'border-bottom-style', and 'border-left-style'
properties to the value 'solid'.</p>

<!--CLEANUP-->
<p id="dimRendering">The <code data-x="attr-dim-width">width</code> and <code
data-x="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>
<code>iframe</code>, <code>img</code>, <code>object</code> or <code>video</code> elements, and <code>input</code>
elements with a <code data-x="attr-input-type">type</code> attribute in the <span
data-x="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 data-x="maps to the dimension
Expand Down

0 comments on commit c759c79

Please sign in to comment.