[Webkit-unassigned] [Bug 63922] document.all & document.activeElement undefined in xhtml page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 03:12:17 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63922


Dominic Cooney <dominicc at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
                 CC|                            |dominicc at chromium.org




--- Comment #1 from Dominic Cooney <dominicc at chromium.org>  2011-07-05 03:12:17 PST ---
document.activeElement and document.all are defined on HTML documents, see for example:

<http://www.whatwg.org/specs/web-apps/current-work/#dom-document-activeelement>
<http://www.whatwg.org/specs/web-apps/current-work/#dom-document-all>

XHTML documents are not HTML documents (open the web inspector on one of those pages and look at document.constructor, for example, and compare it with the document.constructor of a HTML page such as this one.)

So I think it is correct for document.activeElement and document.all to be undefined in an XHTML page.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list