Bug 74869

Summary: REGRESSION (r97533): Optgroup label is not disabled
Product: WebKit Reporter: Joshua Cody <josh>
Component: FormsAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Major CC: ap, darin, jonlee, tkent, webkit.review.bot
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
Attachments:
Description Flags
test case
none
Patch none

Joshua Cody
Reported 2011-12-19 09:39:32 PST
The label of an option group within a select is selectable and appears with standard <option> styling. It should match the option disabled styling. See http://jsfiddle.net/X8Sty/
Attachments
test case (509 bytes, text/html)
2011-12-20 14:56 PST, Alexey Proskuryakov
no flags
Patch (1.35 KB, patch)
2011-12-22 11:13 PST, Darin Adler
no flags
Alexey Proskuryakov
Comment 1 2011-12-20 14:56:42 PST
Created attachment 120092 [details] test case Same test as an attachment.
Alexey Proskuryakov
Comment 2 2011-12-20 15:15:17 PST
Regressed in <http://trac.webkit.org/changeset/97533> (Follow up the recent HTMLSelectElement improvements with a little bit more). What I'm seeing is that it's not only drawn incorrectly, but can actually be selected.
Darin Adler
Comment 3 2011-12-21 10:29:16 PST
I’ll look at this as soon as I have a chance.
Darin Adler
Comment 4 2011-12-22 11:13:43 PST
WebKit Review Bot
Comment 5 2011-12-23 02:20:56 PST
Comment on attachment 120345 [details] Patch Clearing flags on attachment: 120345 Committed r103616: <http://trac.webkit.org/changeset/103616>
WebKit Review Bot
Comment 6 2011-12-23 02:21:00 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.