[Webkit-unassigned] [Bug 15088] New: HTMLOptionElement.selected returns false when parent HTMLSelectElement is "display: none" until parent's .selectedIndex is accessed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 01:28:27 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15088

           Summary: HTMLOptionElement.selected returns false when parent
                    HTMLSelectElement is "display: none" until parent's
                    .selectedIndex is accessed
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: HasReduction, NeedsRadar
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrowe at apple.com


I noticed this bug while reading over the jQuery source code.

        <select id='theSelect' style='display: none'>
            <option id='theOption'>The Option</option>
        </select>

Accessing theOption.selected returns false until theSelect.selectedIndex is
accessed, in which case it switches to returning true.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list