<?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>10267</bug_id>
          
          <creation_ts>2010-07-30 00:03:19 +0000</creation_ts>
          <short_desc>What happens if you delete an attribute?  For the following test case, Chrome outputs &quot;string undefined&quot;, while Firefox and Opera give &quot;string string&quot;: data:text/html,&lt;!doctype html&gt;&lt;script&gt;var el = document.createElement(&quot;a&quot;); var type = typeof el.id; de</short_desc>
          <delta_ts>2010-10-04 14:27:39 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#reflecting-content-attributes-in-idl-attributes</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>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>mike</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>37173</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-07-30 00:03:19 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#reflecting-content-attributes-in-idl-attributes

Comment:
What happens if you delete an attribute?  For the following test case, Chrome
outputs &quot;string undefined&quot;, while Firefox and Opera give &quot;string string&quot;:
data:text/html,&lt;!doctype html&gt;&lt;script&gt;var el = document.createElement(&quot;a&quot;);
var type = typeof el.id; delete el.id; alert(type + &quot; &quot; + typeof
el.id);&lt;/script&gt;

Posted from: 68.175.61.233</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37174</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2010-07-30 00:04:18 +0000</bug_when>
    <thetext>With manual newlines/spaces so it works reliably:

data:text/html,&lt;!doctype html&gt;
 &lt;script&gt;
 var el = document.createElement(&quot;a&quot;);
 var type = typeof el.id;
 delete el.id;
 alert(type + &quot; &quot; + typeof el.id);
 &lt;/script&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37177</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2010-07-30 00:44:13 +0000</bug_when>
    <thetext>I&apos;m told this is a WebIDL issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>