W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2008

html5/spec Overview.html,1.907,1.908

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 03 Jun 2008 11:43:15 +0000
To: public-html-commits@w3.org
Message-Id: <E1K3Uv5-0002jJ-Tz@lionel-hutz.w3.org>

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

Modified Files:
	Overview.html 
Log Message:
hasFocus() is a method, not an attribute. (credit: ap) (whatwg r1721)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.907
retrieving revision 1.908
diff -u -d -r1.907 -r1.908
--- Overview.html	3 Jun 2008 11:32:58 -0000	1.907
+++ Overview.html	3 Jun 2008 11:43:13 -0000	1.908
@@ -2811,7 +2811,7 @@
 
   // <a href="#interaction0">Interaction</a>
   readonly attribute <span>Element</span> <a href="#activeelement" title=dom-document-activeElement>activeElement</a>;
-  readonly attribute boolean <a href="#hasfocus" title=dom-document-hasFocus>hasFocus</a>;
+  boolean <a href="#hasfocus" title=dom-document-hasFocus>hasFocus</a>();
 
   // <a href="#command1" title=concept-command>Commands</a>
   readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <a href="#commands0" title=dom-document-commands>commands</a>;
@@ -7400,7 +7400,7 @@
    href="#the-body1">the <code>body</code> element</a>.
 
   <p>The <dfn id=hasfocus
-   title=dom-document-hasFocus><code>hasFocus</code></dfn> attribute must
+   title=dom-document-hasFocus><code>hasFocus()</code></dfn> method must
    return true if the document, one of its nested <a href="#browsing1"
    title="browsing context">browsing contexts</a>, or any element in the
    document or its browsing contexts currently has the system focus.
Received on Tuesday, 3 June 2008 11:43:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:56 GMT