<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17047</bug_id>
          
          <creation_ts>2012-05-14 15:22:03 +0000</creation_ts>
          <short_desc>Add id attribute to HTMLElement IDL</short_desc>
          <delta_ts>2012-05-14 18:28:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="T.J. Crowder">tj</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67649</commentid>
    <comment_count>0</comment_count>
    <who name="T.J. Crowder">tj</who>
    <bug_when>2012-05-14 15:22:03 +0000</bug_when>
    <thetext>The `id` attribute should be added to the IDL for `HTMLElement`; it doesn&apos;t seem to be there in the latest editor&apos;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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67682</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-05-14 18:28:14 +0000</bug_when>
    <thetext>It&apos;s on Element now: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-element</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>