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

[Bug 12639] New: collection[index] = new Option() as setter is supported by all modern UA(ff, opera, webkit, IE). Holes are allowed as in JS array i.e. {select.options.length = 0; select.options[10] = new Option(); select.options.length // 11}

From: <bugzilla@jessica.w3.org>
Date: Mon, 09 May 2011 23:07:03 +0000
To: public-html@w3.org
Message-ID: <bug-12639-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12639

           Summary: collection[index] = new Option() as setter is
                    supported by all modern UA(ff, opera, webkit, IE).
                    Holes are allowed as in JS array i.e.
                    {select.options.length = 0; select.options[10] = new
                    Option(); select.options.length // 11}
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#htm
                    loptionscollection
        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-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification:
http://www.whatwg.org/specs/web-apps/current-work/complete/common-dom-interfaces.html
Section:
http://www.whatwg.org/specs/web-apps/current-work/#htmloptionscollection

Comment:
collection[index] = new Option() as setter is supported by all modern UA(ff,
opera, webkit, IE). Holes are allowed as in JS array i.e.
{select.options.length = 0; select.options[10] = new Option();
select.options.length // 11}

Posted from: 78.37.248.212
User agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.8.131 Version/11.10

-- 
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 Monday, 9 May 2011 23:07:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:24 UTC