Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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
Hixie committed Mar 28, 2012
1 parent ad004a0 commit 6312d09
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
9 changes: 5 additions & 4 deletions complete.html
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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>
Expand Down
9 changes: 5 additions & 4 deletions index
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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>
Expand Down
10 changes: 6 additions & 4 deletions source
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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>

Expand Down

0 comments on commit 6312d09

Please sign in to comment.