Open Nicasso opened 8 years ago
Same goes for the alpha
function.
filter: alpha(opacity=60);
This declaration will be ignored.
Unfortunately, calc()
is not supported yet and for the first look, it will require quite significant modifications in the value processing, since it can actually produce different value types (lengths, angles, integers, etc.) The filter:
property would be probably easier to implement; however it seems to be quite an experimental technology at the moment.
I know it has been a long time but finally, there is now an experimental support for calc()
added in the master branch.
Hello,
I don't know if it is a bug or that the
calc
function is just not supported yet. But thecalc
function is not being parsed, if it is used, the whole rule set is ignored. It looks like it is the only function which is not working since functions likelinear-gradient
do work correct.So this whole ruleset will be ignored.
.background2 { width: calc(100% - 100px); background: linear-gradient(red,yellow,blue); }
And this one will work.
.background2 { background: linear-gradient(red,yellow,blue); }
Regards, Nico