Bug 207541 - rem units do not work for canvas contexts
Summary: rem units do not work for canvas contexts
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.15
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-11 06:36 PST by Ashish Santikari
Modified: 2020-02-11 13:13 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>