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

[Bug 12665] New: This definition seems slightly wrong; if you have a tree like (assume XML-style parsing) <select><optgroup><optgroup><option>foo[...] UAs give options.length = 1, not 0. Basically the algorithm is that you walk the subtree rooted at the select, include a

From: <bugzilla@jessica.w3.org>
Date: Tue, 17 May 2011 09:44:44 +0000
To: public-html@w3.org
Message-ID: <bug-12665-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12665

           Summary: This definition seems slightly wrong; if you have a
                    tree like (assume XML-style parsing)
                    <select><optgroup><optgroup><option>foo[...] UAs give
                    options.length = 1, not 0.  Basically the algorithm is
                    that you walk the subtree rooted at the select,
                    include a
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#con
                    cept-select-option-list
        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/
Section:
http://www.whatwg.org/specs/web-apps/current-work/#concept-select-option-list

Comment:
This definition seems slightly wrong; if you have a tree like (assume
XML-style parsing) <select><optgroup><optgroup><option>foo[...] UAs give
options.length = 1, not 0.  Basically the algorithm is that you walk the
subtree rooted at the select, include all <option> elements and recurse into
<optgroup> elements but nothing else

Posted from: 2001:4c28:a030:30:219:99ff:fe0e:5501
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110422
Firefox/6.0a1

-- 
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 Tuesday, 17 May 2011 09:44:46 GMT

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