W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2008

html5/spec Overview.html,1.1106,1.1107

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 23 Jul 2008 22:31:13 +0000
To: public-html-commits@w3.org
Message-Id: <E1KLmrZ-0000z2-BG@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3505

Modified Files:
	Overview.html 
Log Message:
fix the definition of img.width/height for the case where the image isn't being rendered but is available (bug 5856) (credit: avk) (whatwg r1917)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1106
retrieving revision 1.1107
diff -u -d -r1.1106 -r1.1107
--- Overview.html	23 Jul 2008 22:24:52 -0000	1.1106
+++ Overview.html	23 Jul 2008 22:31:10 -0000	1.1107
@@ -15809,11 +15809,14 @@
    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="#references">[CSS21]</a>
 
   <p>The DOM attribute <dfn id=complete
Received on Wednesday, 23 July 2008 22:31:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT