[html5] r3535 - [e] (0) Clarify that drawImage() with negative dimensions is no different than w [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 3 22:15:26 PDT 2009


Author: ianh
Date: 2009-08-03 22:15:25 -0700 (Mon, 03 Aug 2009)
New Revision: 3535

Modified:
   index
   source
Log:
[e] (0) Clarify that drawImage() with negative dimensions is no different than with positive dimensions.

Modified: index
===================================================================
--- index	2009-08-03 11:09:08 UTC (rev 3534)
+++ index	2009-08-04 05:15:25 UTC (rev 3535)
@@ -71,7 +71,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 3 August 2009</h2>
+   <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 4 August 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -25262,7 +25262,11 @@
 
   <p>The original image data of the source image must be used, not the
   image as it is rendered (e.g. <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 the source
-  element have no effect).</p>
+  element have no effect). The image data must be processed in the
+  original direction, even if the dimensions given are negative. <!--
+  remove that last sentence if it causes confusion. Someone once
+  suggested that 5,5,-2,-2 was different than 3,3,2,2; this is trying
+  to clarify that this is no the case. --></p>
 
   <p class=note>This specification does not define the algorithm to
   use when scaling the image, if necessary.</p>
@@ -72440,6 +72444,7 @@
   Giovanni Campagna,
   Greg Botten,
   Greg Houston,
+  Gregg Tavares,
   Grey,
   Gytis Jakutonis,
   Håkon Wium Lie,

Modified: source
===================================================================
--- source	2009-08-03 11:09:08 UTC (rev 3534)
+++ source	2009-08-04 05:15:25 UTC (rev 3535)
@@ -27658,7 +27658,11 @@
   image as it is rendered (e.g. <code
   title="attr-dim-width">width</code> and <code
   title="attr-dim-height">height</code> attributes on the source
-  element have no effect).</p>
+  element have no effect). The image data must be processed in the
+  original direction, even if the dimensions given are negative. <!--
+  remove that last sentence if it causes confusion. Someone once
+  suggested that 5,5,-2,-2 was different than 3,3,2,2; this is trying
+  to clarify that this is no the case. --></p>
 
   <p class="note">This specification does not define the algorithm to
   use when scaling the image, if necessary.</p>
@@ -85662,6 +85666,7 @@
   Giovanni Campagna,
   Greg Botten,
   Greg Houston,
+  Gregg Tavares,
   Grey,
   Gytis Jakutonis,
   Håkon Wium Lie,




More information about the Commit-Watchers mailing list