[html5] r984 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 7 21:42:36 PDT 2007


Author: ianh
Date: 2007-08-07 21:42:36 -0700 (Tue, 07 Aug 2007)
New Revision: 984

Modified:
   index
   source
Log:
[] (1) Mention that coordinates are relative to the displayed size, sigh.

Modified: index
===================================================================
--- index	2007-08-08 00:49:37 UTC (rev 983)
+++ index	2007-08-08 04:42:36 UTC (rev 984)
@@ -17064,6 +17064,11 @@
        title="">x2</var>, <var title="">y2</var>), those coordinates being
        interpreted as CSS pixels from the top left corner of the image.</p>
     </dl>
+
+    <p>For historical reasons, the coordinates must be interpreted relative
+     to the <em>displayed</em> image, even if it stretched using CSS or the
+     <code title=attr-img-width><a href="#width">width</a></code> and <code
+     title=attr-img-height><a href="#height">height</a></code> attributes.</p>
   </ol>
 
   <p>Mouse clicks on an image associated with a set of layered shapes per the

Modified: source
===================================================================
--- source	2007-08-08 00:49:37 UTC (rev 983)
+++ source	2007-08-08 04:42:36 UTC (rev 984)
@@ -14696,6 +14696,12 @@
      </dd>
 
     </dl>
+
+    <p>For historical reasons, the coordinates must be interpreted
+    relative to the <em>displayed</em> image, even if it stretched
+    using CSS or the <code title="attr-img-width">width</code> and
+    <code title="attr-img-height">height</code> attributes.</p>
+
    </li>
 
   </ol>




More information about the Commit-Watchers mailing list