Bug 227025

Summary: Safari floors calc(100% - 0px)
Product: WebKit Reporter: Rado <rado>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: All   
OS: All   

Rado
Reported 2021-06-15 07:01:36 PDT
Hi, Safari floors calc(100% - 0px), but it should return the original floating point value. Discovered it with a CSS variable which defaults to 0px, so there is a legit need for this. Please fix it. Thanks. Demo: https://nativecarousel.com/safari-calc(100%25%20-%200px).html
Attachments
Radar WebKit Bug Importer
Comment 1 2021-06-22 07:02:16 PDT
Simon Fraser (smfr)
Comment 2 2021-06-22 11:03:32 PDT
This was fixed in https://trac.webkit.org/changeset/277738/webkit/trunk *** This bug has been marked as a duplicate of bug 225962 ***
Note You need to log in before you can comment on or make changes to this bug.