W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2010

[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

From: <bugzilla@jessica.w3.org>
Date: Fri, 30 Jul 2010 00:03:20 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-10267-2486@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:52 UTC