HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7039

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
Index: source
===================================================================
--- source	(revision 7038)
+++ source	(revision 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>
 

|