html5/spec Overview.html,1.1975,1.1976

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv1872

Modified Files:
	Overview.html 
Log Message:
Try once more to handle elements losing focus when they are hidden, and other focusing fixes. (whatwg r2805)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1975
retrieving revision 1.1976
diff -u -d -r1.1975 -r1.1976
--- Overview.html	13 Feb 2009 01:09:40 -0000	1.1975
+++ Overview.html	13 Feb 2009 01:37:44 -0000	1.1976
@@ -45551,13 +45551,13 @@
 
   </ol>
 
-  <p>When the user moves the focus away from a <a href=#focusable>focusable</a>
-  element, the user agent should run the <a href=#unfocusing-steps>unfocusing steps</a>
-  that element.</p>
-
   <p>When an element that is focused stops being a
-  <a href=#focusable>focusable</a> element, the user agent should run the
-  <a href=#unfocusing-steps>unfocusing steps</a> that element.</p>
+  <a href=#focusable>focusable</a> element, or stops being focused without
+  another element being explicitly focused in its stead, the user
+  agent should run the <a href=#focusing-steps>focusing steps</a> for <a href=#the-body-element-0>the body
+  element</a>, if there is one; if there is not, then the user
+  agent should run the <a href=#unfocusing-steps>unfocusing steps</a> for the affected
+  element only.</p>
 
   <p class=example>For example, this might happen because the
   element is removed from its <code>Document</code>, or has a <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute added. It would also
@@ -45585,7 +45585,7 @@
   interested in the contents of the <a href=#browsing-context>browsing context</a> of
   the <code><a href=#window>Window</a></code> object on which the method was invoked.</p>
 
-  <p>User agents are encouraged to have this <code title=dom-window-blur><a href=#dom-window-blur>focus()</a></code> method trigger some kind of
+  <p>User agents are encouraged to have this <code title=dom-window-focus><a href=#dom-window-focus>focus()</a></code> method trigger some kind of
   notification.</p>
 
   <p>The <dfn id=dom-window-blur title=dom-window-blur><code>blur()</code></dfn> method
@@ -45626,9 +45626,11 @@
   </ol>
 
   <p>The <dfn id=dom-blur title=dom-blur><code>blur()</code></dfn> method, when
-  invoked, should run the <a href=#unfocusing-steps>unfocusing steps</a> for the
-  element. User agents may selectively or uniformly ignore calls to
-  this method for usability reasons.</p>
+  invoked, should run the <a href=#focusing-steps>focusing steps</a> for <a href=#the-body-element-0>the
+  body element</a>, if there is one; if there is not, then it
+  should run the <a href=#unfocusing-steps>unfocusing steps</a> for the element on
+  which the method was called instead. User agents may selectively or
+  uniformly ignore calls to this method for usability reasons.</p>
 
 
 

Received on Friday, 13 February 2009 01:37:56 UTC