Skip to content

Conversation

tobiasso85
Copy link
Contributor

@tobiasso85 tobiasso85 commented Jan 14, 2020

Chrome/Firefox browser does not support calc with 0 (number without dimension), e.g.
margin-right: calc(0 + 2rem)

Using less.js compress true can produce such invalid output (see test)

Chrome browser does not support calc with 0, e.g.
margin-right: calc(0 + 2rem)
Add test case
@tobiasso85 tobiasso85 requested a review from matz3 January 14, 2020 13:47
@tobiasso85
Copy link
Contributor Author

This is a known problem of less
less/less.js#3318

compress flag has also been deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant