Bug 253936 - canvas-as-container-005.html & canvas-as-container-006.html fail
Summary: canvas-as-container-005.html & canvas-as-container-006.html fail
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL: https://wpt.fyi/results/css/css-conta...
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2023-03-14 23:17 PDT by Tim Nguyen (:ntim)
Modified: 2023-09-08 04:29 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Radar WebKit Bug Importer 2023-03-14 23:17:51 PDT
<rdar://problem/106739131>
Comment 2 Tim Nguyen (:ntim) 2023-05-27 00:29:36 PDT
I looked at this a bit more, it seems like we're just querying out of date style info when checking for focusability.

If you add a `getComputedStyle(target)` call right before focusing the targets, the two tests pass.
Comment 3 Antti Koivisto 2023-09-07 08:20:24 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17543
Comment 4 EWS 2023-09-08 04:29:38 PDT
Committed 267786@main (514d0acadd36): <https://commits.webkit.org/267786@main>

Reviewed commits have been landed. Closing PR #17543 and removing active labels.