HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
7039[Gecko] [Internet Explorer] [Opera] [Webkit] Correct the focus ring API definitions to notify the user appropriately.2012-03-28 19:44
@@ -44190,21 +44190,21 @@ v6DVT (also check for '- -' bits in the part above) -->
    <li><p>If <var title="">element</var> is not focused or is not a
    descendant of the element with whose context the method is
    associated, then abort these steps.</p></li>
 
    <li>
 
     <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
     focused from the mouse. Other platforms simply don't draw focus
     rings around some elements at all unless relevant accessibility
     features are enabled. This API is intended to follow these
     conventions. User agents that implement distinctions based on the
     manner in which the element was focused are encouraged to classify
     focus driven by the <code title="dom-focus">focus()</code> method
     based on the kind of user interaction event from which the call
@@ -44236,26 +44236,28 @@ v6DVT (also check for '- -' bits in the part above) -->
   title="dom-context-2d-drawCustomFocusRing"><code>drawCustomFocusRing(<var
   title="">element</var>)</code></dfn> method, when invoked, must run
   the following steps:</p>
 
   <ol>
 
    <li><p>If <var title="">element</var> is not focused or is not a
    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
     title="dom-context-2d-globalAlpha">global alpha</span>, or the
     <span title="dom-context-2d-globalCompositeOperation">global
     composition operators</span>, but <em>should</em> be subject to
     the <span>clipping region</span>. (The effect of transformations
     is described above and varies based on which path is being
     used.)</p>
 
@@ -44263,21 +44265,21 @@ v6DVT (also check for '- -' bits in the part above) -->
 
    <li>
 
     <p>Optionally, <a href="#inform">inform the user</a> that the
     focus is at the location given by the intended path. User agents
     may wait until the next time the <span>event loop</span> reaches
     its "update the rendering" step to optionally inform the user.</p>
 
    </li>
 
-   <li><p>Return true.</p></li>
+   <li><p>Return <var title="">result</var>.</p></li>
 
   </ol>
 
   <p>The <dfn
   title="dom-context-2d-scrollPathIntoView"><code>scrollPathIntoView()</code></dfn>
   method, when invoked, must run the following steps:</p>
 
   <ol>
 
    <li><p>Let <var title="">the specified rectangle</var> be the

|