Skip to content
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

Applies undefined to calc #18

Closed
strarsis opened this issue Aug 1, 2018 · 2 comments
Closed

Applies undefined to calc #18

strarsis opened this issue Aug 1, 2018 · 2 comments
Labels

Comments

@strarsis
Copy link

strarsis commented Aug 1, 2018

The polyfill applies undefined in IE11:

flex: calc(undefined / undefined);

Reproducible test case: https://codepen.io/strarsis/pen/JBLBax

flex: calc(var(--img-width) / var(--img-height));
style="--img-width:150;--img-height:150"

Edit: Example using now fixed polyfill: https://codepen.io/strarsis/pen/VBGNOO

@jhildenbiddle
Copy link
Owner

Confirmed. Thanks for filing the issue!

@jhildenbiddle
Copy link
Owner

Fixed in 1.9.0, with automated tests added to the build.

Thanks again for filing the issue!

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

No branches or pull requests

2 participants