[html5] r7039 - [giow] (0) Correct the focus ring API definitions to notify the user appropriate [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Mar 28 12:44:18 PDT 2012
Author: ianh
Date: 2012-03-28 12:44:16 -0700 (Wed, 28 Mar 2012)
New Revision: 7039
Modified:
complete.html
index
source
Log:
[giow] (0) Correct the focus ring API definitions to notify the user appropriately.
Affected topics: Canvas
Modified: complete.html
===================================================================
--- complete.html 2012-03-28 04:48:26 UTC (rev 7038)
+++ complete.html 2012-03-28 19:44:16 UTC (rev 7039)
@@ -37950,7 +37950,7 @@
<p>If the user has requested the use of particular focus rings
(e.g. high-contrast focus rings), or if the <var title="">element</var> would have a focus ring drawn around it,
then draw a focus ring of the appropriate style along the intended
- path, following platform conventions, and abort these steps.</p>
+ path, following platform conventions.</p>
<p class=note>Some platforms only draw focus rings around
elements that have been focused from the keyboard, and not those
@@ -37988,12 +37988,13 @@
descendant of the element with whose context the method is
associated, then return false and abort these steps.</li>
+ <li><p>Let <var title="">result</var> be true.</li>
+
<li>
<p>If the user has requested the use of particular focus rings
(e.g. high-contrast focus rings), then draw a focus ring of the
- appropriate style along the intended path, return false, and abort
- these steps.</p>
+ appropriate style along the intended path, and set <var title="">result</var> to false.</p>
<p>The focus ring should not be subject to the <a href=#shadows title=shadows>shadow effects</a>, the <a href=#dom-context-2d-globalalpha title=dom-context-2d-globalAlpha>global alpha</a>, or the
<a href=#dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation>global
@@ -38013,7 +38014,7 @@
</li>
- <li><p>Return true.</li>
+ <li><p>Return <var title="">result</var>.</li>
</ol><p>The <dfn id=dom-context-2d-scrollpathintoview title=dom-context-2d-scrollPathIntoView><code>scrollPathIntoView()</code></dfn>
method, when invoked, must run the following steps:</p>
Modified: index
===================================================================
--- index 2012-03-28 04:48:26 UTC (rev 7038)
+++ index 2012-03-28 19:44:16 UTC (rev 7039)
@@ -37950,7 +37950,7 @@
<p>If the user has requested the use of particular focus rings
(e.g. high-contrast focus rings), or if the <var title="">element</var> would have a focus ring drawn around it,
then draw a focus ring of the appropriate style along the intended
- path, following platform conventions, and abort these steps.</p>
+ path, following platform conventions.</p>
<p class=note>Some platforms only draw focus rings around
elements that have been focused from the keyboard, and not those
@@ -37988,12 +37988,13 @@
descendant of the element with whose context the method is
associated, then return false and abort these steps.</li>
+ <li><p>Let <var title="">result</var> be true.</li>
+
<li>
<p>If the user has requested the use of particular focus rings
(e.g. high-contrast focus rings), then draw a focus ring of the
- appropriate style along the intended path, return false, and abort
- these steps.</p>
+ appropriate style along the intended path, and set <var title="">result</var> to false.</p>
<p>The focus ring should not be subject to the <a href=#shadows title=shadows>shadow effects</a>, the <a href=#dom-context-2d-globalalpha title=dom-context-2d-globalAlpha>global alpha</a>, or the
<a href=#dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation>global
@@ -38013,7 +38014,7 @@
</li>
- <li><p>Return true.</li>
+ <li><p>Return <var title="">result</var>.</li>
</ol><p>The <dfn id=dom-context-2d-scrollpathintoview title=dom-context-2d-scrollPathIntoView><code>scrollPathIntoView()</code></dfn>
method, when invoked, must run the following steps:</p>
Modified: source
===================================================================
--- source 2012-03-28 04:48:26 UTC (rev 7038)
+++ source 2012-03-28 19:44:16 UTC (rev 7039)
@@ -44197,7 +44197,7 @@
(e.g. high-contrast focus rings), or if the <var
title="">element</var> would have a focus ring drawn around it,
then draw a focus ring of the appropriate style along the intended
- path, following platform conventions, and abort these steps.</p>
+ path, following platform conventions.</p>
<p class="note">Some platforms only draw focus rings around
elements that have been focused from the keyboard, and not those
@@ -44243,12 +44243,14 @@
descendant of the element with whose context the method is
associated, then return false and abort these steps.</p></li>
+ <li><p>Let <var title="">result</var> be true.</p></li>
+
<li>
<p>If the user has requested the use of particular focus rings
(e.g. high-contrast focus rings), then draw a focus ring of the
- appropriate style along the intended path, return false, and abort
- these steps.</p>
+ appropriate style along the intended path, and set <var
+ title="">result</var> to false.</p>
<p>The focus ring should not be subject to the <span
title="shadows">shadow effects</span>, the <span
@@ -44270,7 +44272,7 @@
</li>
- <li><p>Return true.</p></li>
+ <li><p>Return <var title="">result</var>.</p></li>
</ol>
More information about the Commit-Watchers
mailing list