Bug 262220
| Summary: | testdriver-vendor.js uses an incorrect position for an action with an specified element origin | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Aditya Keerthi <akeerthi> |
| Component: | Tools / Tests | Assignee: | Richard Robinson <richard_robinson2> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Aditya Keerthi
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
<rdar://problem/116145770>
Abrar Rahman Protyasha
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
Pull request: https://github.com/WebKit/WebKit/pull/31688
EWS
Committed 282257@main (701a3c6a95ff): <https://commits.webkit.org/282257@main>
Reviewed commits have been landed. Closing PR #31688 and removing active labels.