Browse files

[giow] (0) Correct the focus ring API definitions to notify the user …

…appropriately.

Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@7039 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent ad004a0 commit 6312d093e26989ef64bdebfda49cc127cce12bed @Hixie Hixie committed Mar 28, 2012
Showing with 16 additions and 12 deletions.
  1. +5 −4 complete.html
  2. +5 −4 index
  3. +6 −4 source
View
9 complete.html
@@ -37950,7 +37950,7 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.1.11 </span>Drawing
<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 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.1.11 </span>Drawing
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 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.8.11.1.11 </span>Drawing
</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>
View
9 index
@@ -37950,7 +37950,7 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
<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 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
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 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
</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>
View
10 source
@@ -44197,7 +44197,7 @@ v6DVT (also check for '- -' bits in the part above) -->
(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 @@ v6DVT (also check for '- -' bits in the part above) -->
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 @@ v6DVT (also check for '- -' bits in the part above) -->
</li>
- <li><p>Return true.</p></li>
+ <li><p>Return <var title="">result</var>.</p></li>
</ol>

0 comments on commit 6312d09

Please sign in to comment.