Bug 230178 - css/css-transforms/translate-getComputedStyle.html fails
Summary: css/css-transforms/translate-getComputedStyle.html fails
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks: 230080
  Show dependency treegraph
 
Reported: 2021-09-10 16:22 PDT by Simon Fraser (smfr)
Modified: 2021-09-11 18:42 PDT (History)
11 users (show)

See Also:


Attachments
Patch (20.61 KB, patch)
2021-09-10 21:59 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (22.02 KB, patch)
2021-09-11 10:34 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2021-09-10 16:22:37 PDT
https://drafts.csswg.org/css-transforms-2/#propdef-translate says:

Note: The resolved value of the translate property is the computed value, and thus getComputedStyle() includes percentage values in its results.

We need to implement this to fix the test.
Comment 1 Simon Fraser (smfr) 2021-09-10 21:59:07 PDT
Created attachment 437940 [details]
Patch
Comment 2 Simon Fraser (smfr) 2021-09-11 10:34:06 PDT
Created attachment 437956 [details]
Patch
Comment 3 EWS 2021-09-11 18:41:15 PDT
Committed r282315 (241585@main): <https://commits.webkit.org/241585@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 437956 [details].
Comment 4 Radar WebKit Bug Importer 2021-09-11 18:42:18 PDT
<rdar://problem/83018210>