[html5] r859 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jun 4 21:10:37 PDT 2007
Author: ianh
Date: 2007-06-04 21:10:35 -0700 (Mon, 04 Jun 2007)
New Revision: 859
Modified:
index
source
Log:
[] (0) activeElement returns the <body> element by default, not <html>, for IE compatibility.
Modified: index
===================================================================
--- index 2007-06-05 00:19:58 UTC (rev 858)
+++ index 2007-06-05 04:10:35 UTC (rev 859)
@@ -6637,7 +6637,8 @@
<p>The <dfn id=activeelement
title=dom-document-activeElement><code>activeElement</code></dfn>
attribute must return the element in the document that has focus. If no
- element specifically has focus, this must return the root element.
+ element specifically has focus, this must return <a href="#the-body0">the
+ <code>body</code> element</a>.
<p>The <dfn id=hasfocus
title=dom-document-hasFocus><code>hasFocus</code></dfn> attribute must
Modified: source
===================================================================
--- source 2007-06-05 00:19:58 UTC (rev 858)
+++ source 2007-06-05 04:10:35 UTC (rev 859)
@@ -5295,8 +5295,8 @@
<p>The <dfn
title="dom-document-activeElement"><code>activeElement</code></dfn>
attribute must return the element in the document that has focus. If
- no element specifically has focus, this must return the root
- element.</p>
+ no element specifically has focus, this must return <span>the
+ <code>body</code> element</span>.</p>
<p>The <dfn
title="dom-document-hasFocus"><code>hasFocus</code></dfn> attribute
More information about the Commit-Watchers
mailing list