WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
265025
Correcting menu button event trigger location
https://bugs.webkit.org/show_bug.cgi?id=265025
Summary
Correcting menu button event trigger location
Ahmad Saleem
Reported
2023-11-17 06:00:07 PST
Hi Team, While going through Blink's Commit, I came across 'Windows' specific fix due to 'contextmenu' keyboard key. Blink Commit:
https://chromium.googlesource.com/chromium/blink/+/d240a9d4fd0f048d4492293d15f6f89ed1509364
WebKit Source:
https://searchfox.org/wubkat/rev/114aa2c8594807cbc34dd5dff48a9e2addfd1e00/Source/WebCore/page/EventHandler.cpp#3478
This compiles: } else if (focusedElement) { IntRect boundingBoxRect = focusedElement->boundsInRootViewSpace(); location = IntPoint(boundingBoxRect.center()); ___ Although the test will fail on 'mac' and since I was not able to test on 'Windows', so I am just raising it, if you want to merge or have issue with 'win-cairo' port. If it is not reproducible then please close. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-24 06:01:14 PST
<
rdar://problem/118771259
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug