W3C home > Mailing lists > Public > public-html-commits@w3.org > December 2011

html5/spec Overview.html,1.5475,1.5476

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 16 Dec 2011 20:53:50 +0000
To: public-html-commits@w3.org
Message-Id: <E1Rbemt-0006Nl-3P@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv24519

Modified Files:
	Overview.html 
Log Message:
Clarify what is focused in the iframe's owner document when an iframe's child document is focused. (whatwg r6876)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5475
retrieving revision 1.5476
diff -u -d -r1.5475 -r1.5476
--- Overview.html	16 Dec 2011 00:32:40 -0000	1.5475
+++ Overview.html	16 Dec 2011 20:53:45 -0000	1.5476
@@ -54242,6 +54242,10 @@
   <a href="#top-level-browsing-context">top-level browsing context</a> itself has the <i>system
   focus</i>.</p>
 
+  <p id="bc-focus-ergo-bcc-focus">When a <a href="#child-browsing-context">child browsing
+  context</a> is focused, its <a href="#browsing-context-container">browsing context
+  container</a> must also have focus.</p>
+
   <p class="note">When an element is focused, the element matches the
   CSS <code>:focus</code> pseudo-class.</p>
 
@@ -54384,6 +54388,9 @@
 
    <li><a href="#editing-host" title="editing host">Editing hosts</a></li>
 
+   <li><a href="#browsing-context-container" title="browsing context container">Browsing context
+   containers</a></li> 
+
   </ul><p>In addition, each shape that is generated for an
   <code><a href="#the-area-element">area</a></code> element should be <a href="#focusable">focusable</a>, unless
   platform conventions dictate otherwise. (A single <code><a href="#the-area-element">area</a></code>
@@ -54505,6 +54512,13 @@
   <code><a href="#document">Document</a></code> is focused, this must return <a href="#the-body-element-0">the body
   element</a>.</p>
 
+  <p class="note">When a <a href="#child-browsing-context">child browsing context</a> is
+  focused, its <a href="#browsing-context-container">browsing context container</a> is also
+  focused, <a href="#bc-focus-ergo-bcc-focus">by definition</a>. For
+  example, if the user moves the focus to a text field in an
+  <code><a href="#the-iframe-element">iframe</a></code>, the <code><a href="#the-iframe-element">iframe</a></code> is the element with
+  focus in the <a href="#parent-browsing-context">parent browsing context</a>.</p>
+
   <p>The <dfn id="dom-document-hasfocus" title="dom-document-hasFocus"><code>hasFocus()</code></dfn> method
   on <code><a href="#document">Document</a></code> objects must return true if the
   <code><a href="#document">Document</a></code>'s <a href="#browsing-context">browsing context</a> is focused,
Received on Friday, 16 December 2011 20:55:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 December 2011 20:55:57 GMT