Bug 230534

Summary: 3d translation's second value is serialized to 0px regardless of its specified unit if it is zero value.
Product: WebKit Reporter: Joonghun Park <jh718.park>
Component: CSSAssignee: Joonghun Park <jh718.park>
Status: RESOLVED FIXED    
Severity: Normal CC: clopez, darin, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, koivisto, macpherson, menard, rniwa, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>