WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
228877
[GLIB] fast/events/check-defocus-event-order-when-triggered-by-mouse-click.html fails due to rounded corners
https://bugs.webkit.org/show_bug.cgi?id=228877
Summary
[GLIB] fast/events/check-defocus-event-order-when-triggered-by-mouse-click.ht...
Arcady Goldmints-Orlov
Reported
2021-08-06 14:51:52 PDT
The test in question moves the mouse pointer to the top left corner of an input element and tries to click, but on GTK/WPE this misses if the system theme results in the element having rounded corners, meaning the top left corner of the bounding box is not actually inside the element. It should move the mouse to the center instead.
Attachments
Patch
(1.82 KB, patch)
2021-08-06 14:53 PDT
,
Arcady Goldmints-Orlov
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Arcady Goldmints-Orlov
Comment 1
2021-08-06 14:53:32 PDT
Created
attachment 435092
[details]
Patch
Arcady Goldmints-Orlov
Comment 2
2021-08-07 07:31:37 PDT
For what it's worth a quick search of other tests that use eventSender.mouseMoveTo with offsetLeft shows that the overwhelming majority use some kind of offset, presumably because of exactly this sort of issue.
EWS
Comment 3
2021-08-09 09:06:13 PDT
Committed
r280779
(
240363@main
): <
https://commits.webkit.org/240363@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 435092
[details]
.
Radar WebKit Bug Importer
Comment 4
2021-08-09 09:07:17 PDT
<
rdar://problem/81697626
>
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