Bug 218784
| Summary: | getComputedStyle: calc not simplifying | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darryl Pogue <dvpdiner2> |
| Component: | CSS | Assignee: | 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 | ||
Darryl Pogue
CSS calc expressions should simplify when getComputedStyle is called, but in some cases do not.
Example: https://jsfiddle.net/mLnzsx9b/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Smoley
Thanks for filing Darryl. I can reproduce this on Safari 13.1.2 and STP 115.
Radar WebKit Bug Importer
<rdar://problem/71355061>
Simon Fraser (smfr)
This has been fixed.