Bug 106298 - REGRESSION(r137406): Text inside an empty optgroup prevents subsequent options from appearing
Summary: REGRESSION(r137406): Text inside an empty optgroup prevents subsequent option...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Major
Assignee: Kent Tamura
URL: http://jsfiddle.net/CjpY6/
Keywords: InRadar
: 106273 106293 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-07 22:23 PST by Kent Tamura
Modified: 2013-01-08 01:39 PST (History)
8 users (show)

See Also:


Attachments
Patch (3.33 KB, patch)
2013-01-07 22:55 PST, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2013-01-07 22:23:24 PST
http://code.google.com/p/chromium/issues/detail?id=166968

<select>
<option>a</option>
<optgroup label="b"> </optgroup>
<option>c</option>
</select>

Option 'c' doesn't appear in the popup menu. If we remove space in the optgroup, The option 'c' appears.

It seems this happens on all platforms.  I confirmed with Apple Mac and Chromium Mac.
I verified this was a regression by http://trac.webkit.org/changeset/137406 webkit.org/b/104685 .
Comment 1 Kent Tamura 2013-01-07 22:55:35 PST
Created attachment 181650 [details]
Patch
Comment 2 Ryosuke Niwa 2013-01-07 23:04:02 PST
Comment on attachment 181650 [details]
Patch

Thanks for the fix.
Comment 3 Radar WebKit Bug Importer 2013-01-07 23:05:09 PST
<rdar://problem/12971665>
Comment 4 WebKit Review Bot 2013-01-07 23:50:42 PST
Comment on attachment 181650 [details]
Patch

Clearing flags on attachment: 181650

Committed r139038: <http://trac.webkit.org/changeset/139038>
Comment 5 WebKit Review Bot 2013-01-07 23:50:46 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Antti Koivisto 2013-01-08 01:32:18 PST
*** Bug 106273 has been marked as a duplicate of this bug. ***
Comment 7 Elliott Sprehn 2013-01-08 01:39:21 PST
*** Bug 106293 has been marked as a duplicate of this bug. ***