[html5] r6944 - [e] (0) Fix some typos or copypasta. Fixing https://www.w3.org/Bugs/Public/show_ [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 31 11:22:16 PST 2012


Author: ianh
Date: 2012-01-31 11:22:14 -0800 (Tue, 31 Jan 2012)
New Revision: 6944

Modified:
   complete.html
   index
   source
Log:
[e] (0) Fix some typos or copypasta.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=14853
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2012-01-31 01:35:04 UTC (rev 6943)
+++ complete.html	2012-01-31 19:22:14 UTC (rev 6944)
@@ -36529,6 +36529,7 @@
    var context = canvas.getContext('2d');
    var x = event.clientX;
    var y = event.clientY;
+   var node = event.target;
    while (node) {
      x -= node.offsetLeft - node.scrollLeft;
      y -= node.offsetTop - node.scrollTop;

Modified: index
===================================================================
--- index	2012-01-31 01:35:04 UTC (rev 6943)
+++ index	2012-01-31 19:22:14 UTC (rev 6944)
@@ -36529,6 +36529,7 @@
    var context = canvas.getContext('2d');
    var x = event.clientX;
    var y = event.clientY;
+   var node = event.target;
    while (node) {
      x -= node.offsetLeft - node.scrollLeft;
      y -= node.offsetTop - node.scrollTop;

Modified: source
===================================================================
--- source	2012-01-31 01:35:04 UTC (rev 6943)
+++ source	2012-01-31 19:22:14 UTC (rev 6944)
@@ -42549,6 +42549,7 @@
    var context = canvas.getContext('2d');
    var x = event.clientX;
    var y = event.clientY;
+   var node = event.target;
    while (node) {
      x -= node.offsetLeft - node.scrollLeft;
      y -= node.offsetTop - node.scrollTop;




More information about the Commit-Watchers mailing list