<?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>23388</bug_id>
          
          <creation_ts>2013-09-28 02:15:53 +0000</creation_ts>
          <short_desc>Item #4 of the DOM Window Named Item should not allow nor endorse conflation of the name and id namespaces</short_desc>
          <delta_ts>2016-04-22 18:42:47 +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>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>scunliffe.bugzilla</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>arronei</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</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>93989</commentid>
    <comment_count>0</comment_count>
    <who name="">scunliffe.bugzilla</who>
    <bug_when>2013-09-28 02:15:53 +0000</bug_when>
    <thetext>From the current draft of the spec http://www.w3.org/html/wg/drafts/html/master/browsers.html#dom-window-nameditem I find item #4 to be out of place and dangerous if implemented and endorsed.

&quot;HTML elements that have an id content attribute whose value is name.&quot;

I&apos;ve spent the last 12 years of my Web Development career dealing with fixing JavaScript code that incorrectly conflated the ID and NAME namespace causing cross-browser bugs.

The ID attribute http://www.w3.org/html/wg/drafts/html/master/dom.html#the-id-attribute is designed as a unique identifier within a document.

Whereas a NAME attribute http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-fe-name is designed for naming form controls for HTTP submission and unlike the ID attribute can be duplicated as needed for submitting an Array of values or grouping a set of radio buttons.

I fear that acknowledging the bug with Internet Explorer&apos;s getElementById(id) and its non-standard document.all collections and actually perpetuating and endorsing it in HTML5 is damaging to the Web.

Vague API method/property access implementations are not helpful to the development community and should be avoided at all costs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126053</commentid>
    <comment_count>1</comment_count>
    <who name="Arron Eicholz">arronei</who>
    <bug_when>2016-04-22 18:42:47 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: This is handled in this manner for compatibility with the web and browsers.

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>