Bug 106293 - REGRESSION: <optgroup> with a text node only hides all subsequent <option>s
Summary: REGRESSION: <optgroup> with a text node only hides all subsequent <option>s
Status: RESOLVED DUPLICATE of bug 106298
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.8
: P2 Major
Assignee: Nobody
Depends on:
Reported: 2013-01-07 20:06 PST by Félix Cloutier
Modified: 2013-01-08 01:39 PST (History)
1 user (show)

See Also:

Test case for the bug (1.29 KB, text/html)
2013-01-07 20:06 PST, Félix Cloutier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***