Bug 207541

Summary: rem units do not work for canvas contexts
Product: WebKit Reporter: Ashish Santikari <mailto.ashishsan>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Major CC: dino, koivisto, simon.fraser, webkit-bug-importer, yrtimid, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.15   

Description Ashish Santikari 2020-02-11 06:36:24 PST
rem unit does not work on canvas context leading to cross-browser issues.

Here is a codepen: https://codepen.io/ashishsantikari/pen/zYGGbMa
Compare the output on gecko and webkit.

Tested on build r256302.

Hardware: MacBook Pro (13-inch, 2019, Four Thunderbolt 3 ports)
OS: macOS Catalina 10.15.3 (19D76)
Comment 1 Radar WebKit Bug Importer 2020-02-11 12:55:04 PST
<rdar://problem/59359893>