Bug 230534 - 3d translation's second value is serialized to 0px regardless of its specified unit if it is zero value.
Summary: 3d translation's second value is serialized to 0px regardless of its specifie...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joonghun Park
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-21 00:57 PDT by Joonghun Park
Modified: 2021-09-21 11:29 PDT (History)
13 users (show)

See Also:


Attachments
Patch (5.34 KB, patch)
2021-09-21 01:29 PDT, Joonghun Park
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joonghun Park 2021-09-21 00:57:36 PDT
The serialization of css translate value should preserve its unit type, e.g. "100% 0% 1px" to "100% 0% 1px" and "0em 0em 1px" to "0em 0em 1px", not "0% 0% 1px" to "0% 0px 1px".
Comment 1 Joonghun Park 2021-09-21 01:29:08 PDT
Created attachment 438793 [details]
Patch
Comment 2 EWS Watchlist 2021-09-21 01:30:13 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 3 EWS 2021-09-21 11:28:07 PDT
Committed r282830 (241961@main): <https://commits.webkit.org/241961@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 438793 [details].
Comment 4 Radar WebKit Bug Importer 2021-09-21 11:29:20 PDT
<rdar://problem/83361159>