Bug 218784

Summary: getComputedStyle: calc not simplifying
Product: WebKit Reporter: Darryl Pogue <dvpdiner2>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: emilio, koivisto, mike, simon.fraser, smoley, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Unspecified   
OS: Unspecified   

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.