Skip to content

nested calc() causes parsing error #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sylvainpolletvillard opened this issue May 8, 2017 · 0 comments
Closed

nested calc() causes parsing error #23

sylvainpolletvillard opened this issue May 8, 2017 · 0 comments

Comments

@sylvainpolletvillard
Copy link
Contributor

sylvainpolletvillard commented May 8, 2017

Since v2: http://requirebin.com/?gist=5d1cbb2779f115b02a57ebb75c14ed4a

Expressions like "calc(100% - calc(50% + 25px))" causes parsing error from the jison parser
Not sure if nested calc() are standard but its working on Chrome at least.

cc @ben-eb @andyjansson

@ben-eb ben-eb closed this as completed in de1338d May 8, 2017
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

No branches or pull requests

1 participant