WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
262220
testdriver-vendor.js uses an incorrect position for an action with an specified element origin
https://bugs.webkit.org/show_bug.cgi?id=262220
Summary
testdriver-vendor.js uses an incorrect position for an action with an specifi...
Aditya Keerthi
Reported
2023-09-27 15:27:51 PDT
The top-left is used:
https://github.com/WebKit/WebKit/blob/main/LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js#L36
The spec says that the center should be used:
https://www.w3.org/TR/webdriver2/#processing-actions
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-09-27 15:38:54 PDT
<
rdar://problem/116145770
>
Abrar Rahman Protyasha
Comment 2
2023-09-28 15:12:13 PDT
As it turns out, currently we don't implement a sound interpretation of the `origin` value for the `viewport`/`pointer` cases. We do interpret `origin` when it is an Element, which is the third case in
https://www.w3.org/TR/webdriver2/#processing-actions
, but we do so incorrectly -- i.e. what the original bug report is about. So really there's two feature bugs and one bug fix in here. I'll make sure to reflect that distinction in a not-so-distant patch.
Richard Robinson
Comment 3
2024-08-02 19:55:05 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/31688
EWS
Comment 4
2024-08-14 14:25:58 PDT
Committed
282257@main
(701a3c6a95ff): <
https://commits.webkit.org/282257@main
> Reviewed commits have been landed. Closing PR #31688 and removing active labels.
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