Bug 106298

Summary: REGRESSION(r137406): Text inside an empty optgroup prevents subsequent options from appearing
Product: WebKit Reporter: Kent Tamura <tkent>
Component: DOMAssignee: Kent Tamura <tkent>
Status: RESOLVED FIXED    
Severity: Major CC: esprehn, felixcca, koivisto, mifenton, ojan.autocc, rniwa, webkit-bug-importer, webkit.review.bot
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://jsfiddle.net/CjpY6/
Attachments:
Description Flags
Patch none

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. ***