WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 225962
227025
Safari floors calc(100% - 0px)
https://bugs.webkit.org/show_bug.cgi?id=227025
Summary
Safari floors calc(100% - 0px)
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-06-22 07:02:16 PDT
<
rdar://problem/79612174
>
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.
Top of Page
Format For Printing
XML
Clone This Bug