Bug 106293

Summary: REGRESSION: <optgroup> with a text node only hides all subsequent <option>s
Product: WebKit Reporter: Félix Cloutier <felixcca>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: esprehn
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.8   
Attachments:
Description Flags
Test case for the bug none

Description Félix Cloutier 2013-01-07 20:06:55 PST
Created attachment 181628 [details]
Test case for the bug

When a <select> contains an <optgroup> that contains a only a text node instead of <option> tags, subsequent <option> tags are not displayed in the dropdown menu. See attached test case; expected result is a dropdown menu showing "Missing option 1", "Missing option 2", "Missing option 3".

This issue occurs when the <optgroup> contains a text node only. It does not occur when the <optgroup> contains only whitespace characters, or when it contains a text node and <option> tags, or obviously, when it only contains <option> tags.

Marked "severe" because this bug affects Bank of America website features, so there is at least one big website that needs it. Feel free to downgrade the bug if I'm doing this wrong.

This bug happens since before 137793. I'm sorry I can't be more precise. I rarely empty my trash, but that's the last WebKit version I still had there when I realized it was a browser bug.
Comment 1 Elliott Sprehn 2013-01-08 01:39:21 PST

*** This bug has been marked as a duplicate of bug 106298 ***