[Bug 10267] New: What happens if you delete an attribute? For the following test case, Chrome outputs "string undefined", while Firefox and Opera give "string string": data:text/html,<!doctype html><script>var el = document.createElement("a"); var type = typeof el.id; de

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10267

           Summary: What happens if you delete an attribute?  For the
                    following test case, Chrome outputs "string
                    undefined", while Firefox and Opera give "string
                    string": data:text/html,<!doctype html><script>var el
                    = document.createElement("a"); var type = typeof
                    el.id; de
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#ref
                    lecting-content-attributes-in-idl-attributes
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


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 "string undefined", while Firefox and Opera give "string string":
data:text/html,<!doctype html><script>var el = document.createElement("a");
var type = typeof el.id; delete el.id; alert(type + " " + typeof
el.id);</script>

Posted from: 68.175.61.233

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 30 July 2010 00:03:22 UTC