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
Keywords: InRadar
Depends on:
Reported: 2020-02-11 06:36 PST by Ashish Santikari
Modified: 2022-03-27 05:29 PDT (History)
6 users (show)

See Also:


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