[html5] r1721 - /
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jun 3 04:43:09 PDT 2008
Author: ianh
Date: 2008-06-03 04:43:09 -0700 (Tue, 03 Jun 2008)
New Revision: 1721
Modified:
index
source
Log:
[] (0) hasFocus() is a method, not an attribute. (credit: ap)
Modified: index
===================================================================
--- index 2008-06-03 11:32:55 UTC (rev 1720)
+++ index 2008-06-03 11:43:09 UTC (rev 1721)
@@ -2727,7 +2727,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>;
@@ -7316,7 +7316,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.
Modified: source
===================================================================
--- source 2008-06-03 11:32:55 UTC (rev 1720)
+++ source 2008-06-03 11:43:09 UTC (rev 1721)
@@ -993,7 +993,7 @@
// <span>Interaction</span>
readonly attribute <span>Element</span> <span title="dom-document-activeElement">activeElement</span>;
- readonly attribute boolean <span title="dom-document-hasFocus">hasFocus</span>;
+ boolean <span title="dom-document-hasFocus">hasFocus</span>();
// <span title="concept-command">Commands</span>
readonly attribute <span>HTMLCollection</span> <span title="dom-document-commands">commands</span>;
@@ -5775,7 +5775,7 @@
must return <span>the <code>body</code> element</span>.</p>
<p>The <dfn
- title="dom-document-hasFocus"><code>hasFocus</code></dfn> attribute
+ title="dom-document-hasFocus"><code>hasFocus()</code></dfn> method
must return true if the document, one of its nested <span
title="browsing context">browsing contexts</span>, or any element in
the document or its browsing contexts currently has the system
More information about the Commit-Watchers
mailing list