Bug 227025
| Summary: | Safari floors calc(100% - 0px) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Rado <rado> |
| Component: | CSS | Assignee: | 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
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
<rdar://problem/79612174>
Simon Fraser (smfr)
This was fixed in https://trac.webkit.org/changeset/277738/webkit/trunk
*** This bug has been marked as a duplicate of bug 225962 ***