ie11CustomProperties icon indicating copy to clipboard operation
ie11CustomProperties copied to clipboard

JS Error

Open nk-o opened this issue 5 years ago • 2 comments
trafficstars

Description Not working with a set of variables, generates an error in JS (look at the browser's console).

Version 4.1.0

To Reproduce https://ie11.ieonchrome.com/#https://codepen.io/_nK/full/zYqOZdZ

The same example, but without CSS variables (working with no problems) - https://ie11.ieonchrome.com/#https://codepen.io/_nK/full/JjXPWMO

nk-o avatar Aug 03 '20 12:08 nk-o

Looks like a problem with flex + calc

This one doesn't work:

flex: 0 0 calc(10 * var(--variable));

This works:

flex-grow: 0;
flex-shrink: 0;
flex-basis: calc(10 * var(--variable));

nk-o avatar Aug 16 '20 10:08 nk-o

Also found the problem with nested variables. Example: https://ie11.ieonchrome.com/#https://codepen.io/_nK/full/LYNNXyz

nk-o avatar Aug 16 '20 11:08 nk-o