RESOLVED FIXED 166493
Nested calc (e.g. calc(calc(x))) doesn't work
https://bugs.webkit.org/show_bug.cgi?id=166493
Summary Nested calc (e.g. calc(calc(x))) doesn't work
Oliver Joseph Ash
Reported 2016-12-27 12:15:15 PST
When nesting occurs in the CSS calc function, WebKit fails to calculate the result. Example (works in Chrome, empty in Safari): http://jsbin.com/tonova/10/edit?html,css,output This is quite common when using CSS variables, e.g. http://jsbin.com/tonova/11/edit?html,css,output There could be some overlap here with issue https://bugs.webkit.org/show_bug.cgi?id=161002
Attachments
Sergio Gomes
Comment 1 2016-12-29 08:52:00 PST
Note that Safari Tech Preview Release 20 appears to have fixed this issue.
Simon Fraser (smfr)
Comment 2 2017-01-05 12:00:35 PST
Agreed.
Note You need to log in before you can comment on or make changes to this bug.