W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2017

[whatwg] Is the "document" identifier defined in the standards?

From: Kevin Chen <cyaugin@yahoo.com>
Date: Mon, 24 Apr 2017 05:01:26 +0000 (UTC)
To: "whatwg@whatwg.org" <whatwg@whatwg.org>
Message-ID: <897033334.7681754.1493010086920@mail.yahoo.com>
Hello,
Looking through the DOM and HTML standards I have seen several implicit references to the current document object using the identifier "document". But I do not see a guarantee within the standards that the browser will provide an object called "document" containing the current document object (irrespective of the fact that this does seem to be the case in practice). So I'm wondering if this convention actually is codified as a standard, or whether it remains a de facto standard only.

Thanks for your answers.-Kevin
Received on Monday, 24 April 2017 05:01:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 24 April 2017 05:01:59 UTC