Bug 217395

Summary: zappos.com: Dropdown - 'Quantity' option size different
Product: WebKit Reporter: Aditya Keerthi <akeerthi>
Component: FormsAssignee: Aditya Keerthi <akeerthi>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, mmaxfield, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac   
OS: Unspecified   
Attachments:
Description Flags
Before (Safari)
none
Current (Chrome)
none
Patch
none
After (Safari) none

Description Aditya Keerthi 2020-10-06 11:01:25 PDT
The size of the options differs from Chrome and Firefox.
Comment 1 Aditya Keerthi 2020-10-06 11:01:56 PDT
<rdar://problem/60261396>
Comment 2 Aditya Keerthi 2020-10-06 11:02:44 PDT
Created attachment 410659 [details]
Before (Safari)
Comment 3 Aditya Keerthi 2020-10-06 11:03:04 PDT
Created attachment 410660 [details]
Current (Chrome)
Comment 4 Aditya Keerthi 2020-10-06 11:13:00 PDT
Created attachment 410662 [details]
Patch
Comment 5 Aditya Keerthi 2020-10-06 11:13:18 PDT
Created attachment 410663 [details]
After (Safari)
Comment 6 Tim Horton 2020-10-06 11:34:39 PDT
Comment on attachment 410662 [details]
Patch

Seems like it might be testable?
Comment 7 Aditya Keerthi 2020-10-06 12:00:37 PDT
(In reply to Tim Horton from comment #6)
> Comment on attachment 410662 [details]
> Patch
> 
> Seems like it might be testable?

Currently we don't have any tests related to the presented NSMenu.

I thought about an API test where we check the view hierarchy, get the NSMenu and its NSMenuItems, and then perform assertions on an NSMenuItem's attributedString – but we don't have a way to know if menu is showing since its presentation is asynchronous.
Comment 8 EWS 2020-10-07 08:53:03 PDT
Committed r268126: <https://trac.webkit.org/changeset/268126>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 410662 [details].