[html5] r8419 - [e] (0) Move the addHitRegion() call in this sample code, since I pasted it in t [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jan 24 16:24:29 PST 2014
Author: ianh
Date: 2014-01-24 16:24:28 -0800 (Fri, 24 Jan 2014)
New Revision: 8419
Modified:
complete.html
index
source
Log:
[e] (0) Move the addHitRegion() call in this sample code, since I pasted it in the wrong place!
Affected topics: Canvas
Modified: complete.html
===================================================================
--- complete.html 2014-01-24 23:49:50 UTC (rev 8418)
+++ complete.html 2014-01-25 00:24:28 UTC (rev 8419)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 24 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 25 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -57719,6 +57719,7 @@
context.strokeStyle = 'black';
context.rect(x-5, y-5, 10, 10);
context.stroke();
+ context.addHitRegion({ control: element });
</strong> if (element.checked) {
<strong> context.fillStyle = 'black';
context.fill();
@@ -57727,7 +57728,6 @@
}
<strong> context.beginPath();
context.rect(x-7, y-7, 12 + metrics.width+2, 14);
- context.addHitRegion({ control: element });
if (paint && context.drawCustomFocusRing(element)) {
context.strokeStyle = 'silver';
context.stroke();
Modified: index
===================================================================
--- index 2014-01-24 23:49:50 UTC (rev 8418)
+++ index 2014-01-25 00:24:28 UTC (rev 8419)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 24 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 25 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -57719,6 +57719,7 @@
context.strokeStyle = 'black';
context.rect(x-5, y-5, 10, 10);
context.stroke();
+ context.addHitRegion({ control: element });
</strong> if (element.checked) {
<strong> context.fillStyle = 'black';
context.fill();
@@ -57727,7 +57728,6 @@
}
<strong> context.beginPath();
context.rect(x-7, y-7, 12 + metrics.width+2, 14);
- context.addHitRegion({ control: element });
if (paint && context.drawCustomFocusRing(element)) {
context.strokeStyle = 'silver';
context.stroke();
Modified: source
===================================================================
--- source 2014-01-24 23:49:50 UTC (rev 8418)
+++ source 2014-01-25 00:24:28 UTC (rev 8419)
@@ -64178,6 +64178,7 @@
context.strokeStyle = 'black';
context.rect(x-5, y-5, 10, 10);
context.stroke();
+ context.addHitRegion({ control: element });
</strong> if (element.checked) {
<strong> context.fillStyle = 'black';
context.fill();
@@ -64186,7 +64187,6 @@
}
<strong> context.beginPath();
context.rect(x-7, y-7, 12 + metrics.width+2, 14);
- context.addHitRegion({ control: element });
if (paint && context.drawCustomFocusRing(element)) {
context.strokeStyle = 'silver';
context.stroke();
More information about the Commit-Watchers
mailing list