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 17047 - Add id attribute to HTMLElement IDL
Summary: Add id attribute to HTMLElement IDL
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-14 15:22 UTC by T.J. Crowder
Modified: 2012-05-14 18:28 UTC (History)
4 users (show)

See Also:


Attachments

Description T.J. Crowder 2012-05-14 15:22:03 UTC
The `id` attribute should be added to the IDL for `HTMLElement`; it doesn't seem to be there in the latest editor's[1] or working[2] drafts.

AFAIK, this has been a reflected property for as long as there have been specs for HTMLElement, certainly since 1999[3]. I believe the current Recommendation-level spec for it is DOM2 HTML[4].

A huge number of sites would fail in a browser that didn't reflect this attribute.

[1] http://dev.w3.org/html5/spec/elements.html#htmlelement
[2] http://www.w3.org/TR/html5/elements.html#htmlelement
[3] http://www.w3.org/TR/1999/CR-DOM-Level-2-19991210/cover.html#contents
[4] http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-63534901