W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Document.ownerDocument value

From: Garret Wilson <garret@globalmentor.com>
Date: Tue, 15 May 2001 06:53:43 -0500
Message-ID: <000601c0dd7b$e26a3120$9b4a1f26@imaginet.fr>
To: "www-dom list" <www-dom@w3.org>
Can someone confirm the value that Document.ownerDocument should return? I'm
guessing (and hoping) that it references the document itself, but this isn't
clear from the DOM 2 spec. The sentence, "When this node is a Document or a
DocumentType which is not used with any Document yet, this is null," is
particularly confusing -- when is a Document not used with any Document?

Received on Tuesday, 15 May 2001 16:16:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC