W3C home > Mailing lists > Public > public-html@w3.org > June 2011

[Bug 12861] New: HTMLOptionsCollection.add(wrongElementType) should throw

From: <bugzilla@jessica.w3.org>
Date: Thu, 02 Jun 2011 22:13:58 +0000
To: public-html@w3.org
Message-ID: <bug-12861-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12861

           Summary: HTMLOptionsCollection.add(wrongElementType) should
                    throw
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: cam@mcc.id.au
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


The spec currently says that if HTMLOptionsCollection.add() is passed something
that isn't an HTMLOptionElement or HTMLOptGroupElement that the method does
nothing.  All browsers seems to throw, instead:

http://people.mozilla.org/~cmccormack/tests/options-collection-add.html

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 2 June 2011 22:14:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:32 GMT