Skip to content

Commit

Permalink
[] (0) fix the definition of img.width/height for the case where the …
Browse files Browse the repository at this point in the history
…image isn't being rendered but is available (bug 5856) (credit: avk)

git-svn-id: http://svn.whatwg.org/webapps@1917 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 23, 2008
1 parent 07e012a commit 01b55e2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions index
Expand Up @@ -15738,11 +15738,14 @@ The island of Shalott.&lt;/p></pre>
href="#reflect">reflect</a> the respective content attributes of the same
name.

<p>The DOM attributes <dfn id=height
title=dom-img-height><code>height</code></dfn> and <dfn id=width
title=dom-img-width><code>width</code></dfn> must return the rendered
height and width of the image, in CSS pixels, if the image is being
rendered, and is being rendered to a visual medium, or 0 otherwise. <a
<p>The DOM attributes <dfn id=width
title=dom-img-width><code>width</code></dfn> and <dfn id=height
title=dom-img-height><code>height</code></dfn> must return the rendered
width and height of the image, in CSS pixels, if the image is being
rendered, and is being rendered to a visual medium; or else the intrinsic
with and height of the image, in CSS pixels, if the image is available but
not being rendered to a visual medium; or else 0, if the image is not
available or its dimensions are not known. <a
href="#refsCSS21">[CSS21]</a>

<p>The DOM attribute <dfn id=complete
Expand Down
13 changes: 8 additions & 5 deletions source
Expand Up @@ -13396,11 +13396,14 @@ The island of Shalott.&lt;/p></pre>
name.</p>

<p>The DOM attributes <dfn
title="dom-img-height"><code>height</code></dfn> and <dfn
title="dom-img-width"><code>width</code></dfn> must return the
rendered height and width of the image, in CSS pixels, if the image
is being rendered, and is being rendered to a visual medium, or 0
otherwise. <a href="#refsCSS21">[CSS21]</a></p>
title="dom-img-width"><code>width</code></dfn> and <dfn
title="dom-img-height"><code>height</code></dfn> must return the
rendered width and height of the image, in CSS pixels, if the image
is being rendered, and is being rendered to a visual medium; or else
the intrinsic with and height of the image, in CSS pixels, if the
image is available but not being rendered to a visual medium; or
else 0, if the image is not available or its dimensions are not
known. <a href="#refsCSS21">[CSS21]</a></p>

<p>The DOM attribute <dfn
title="dom-img-complete"><code>complete</code></dfn> must return
Expand Down

0 comments on commit 01b55e2

Please sign in to comment.