Bug 218784 - getComputedStyle: calc not simplifying
Summary: getComputedStyle: calc not simplifying
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 14
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-10 19:43 PST by Darryl Pogue
Modified: 2021-05-27 11:44 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darryl Pogue 2020-11-10 19:43:43 PST
CSS calc expressions should simplify when getComputedStyle is called, but in some cases do not.

Example: https://jsfiddle.net/mLnzsx9b/
Comment 1 Smoley 2020-11-12 19:33:58 PST
Thanks for filing Darryl. I can reproduce this on Safari 13.1.2 and STP 115.
Comment 2 Radar WebKit Bug Importer 2020-11-12 19:34:13 PST
<rdar://problem/71355061>
Comment 3 Simon Fraser (smfr) 2021-05-27 11:44:31 PDT
This has been fixed.