Bug 68386

Summary: <select> Incorrectly displayed when all options deleted while popup menu is activated
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, joepeck, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[REDUCTION] Test Case
none
[IMAGE] Screenshot of the issue none

Joseph Pecoraro
Reported 2011-09-19 13:40:53 PDT
If all the options are deleted from a <select> while it is activated and its popup menu is displayed, the <select> is incorrectly drawn when the popup menu goes away. See the attached reduction and screenshot.
Attachments
[REDUCTION] Test Case (465 bytes, text/html)
2011-09-19 13:41 PDT, Joseph Pecoraro
no flags
[IMAGE] Screenshot of the issue (42.73 KB, image/png)
2011-09-19 13:42 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2011-09-19 13:41:22 PDT
Created attachment 107913 [details] [REDUCTION] Test Case
Joseph Pecoraro
Comment 2 2011-09-19 13:42:44 PDT
Created attachment 107914 [details] [IMAGE] Screenshot of the issue
Joseph Pecoraro
Comment 3 2011-09-19 13:43:57 PDT
This is a very minor issue. The issue corrects itself when it repaints.
Joseph Pecoraro
Comment 4 2011-09-19 14:08:15 PDT
This may also be port specific. I haven't tested on any ports other then Mac/Safari.
Ahmad Saleem
Comment 5 2022-09-25 06:24:07 PDT
I am able to reproduce this issue and Safari 16 also has different behavior using attached test case: *** Safari 16 *** Open drop-down and then select option and then it will disable the dropdown but show slight "O" cut-off. So disabled field can show partial option while also it will show all option before disabling them. *** Chrome Canary 108 *** Immediate disable field without any "O" cutoff in disabled field. *** Firefox Nightly 107 *** Immediate disable field without any "O" cutoff in disabled field but also leave weird block / patch. _____ Just wanted to share updated results. Thanks!
Radar WebKit Bug Importer
Comment 6 2022-09-26 11:28:55 PDT
Note You need to log in before you can comment on or make changes to this bug.