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

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 the QA contact for the bug.

Received on Thursday, 2 June 2011 22:14:00 UTC