This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8591 - list document.html under DOM tree accessors?
Summary: list document.html under DOM tree accessors?
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2010-01-03 18:59 UTC by Don Brutzman
Modified: 2010-10-04 14:56 UTC (History)
6 users (show)

See Also:


Description Don Brutzman 2010-01-03 18:59:18 UTC
3.1.4 DOM tree accessors

Should there be an inset box for

        document . html

similar to

        document . head

Comment 1 Anne 2010-01-05 07:17:35 UTC
I don't think this is needed. We already have document.documentElement.
Comment 2 Ian 'Hixie' Hickson 2010-02-05 20:13:15 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:

Status: Rejected
Change Description: no spec change

document.html isn't necessary, since document.documentElement already returns that.

We might want to do document.head one day, but the use cases for it aren't so compelling that we should add it now. Best to wait until the implementations of the new APIs have caught up with the spec.

(There's no inset box because the APIs in question currently don't exist.)
Comment 3 Ian 'Hixie' Hickson 2010-02-05 20:32:18 UTC
Er, disregard what I said about document.head. I'd forgotten that we'd already added that. The rest holds.