I’ve just upgraded from 7.5 to 7.7.5 and now the Sass compiler is giving the following error:
[ERROR]
com.vaadin.sass.internal.parser.ParseException: Only simple values are allowed as rect() parameters: ArgumentList [0 0 0 0]
which I’ve traced back to the mdl/material.scss import in my styles.scss. The few uses of rect() in mdl are:
clip: rect(0 0 0 0);
which correlates with the error but I’m unclear why it would be causing an issue now. The validation class RectFunctionGenerator.java hasn’t been modified in the github repo since 2014, so it should be using the same logic unless 7.5 was deployed with an older Sass compiler version?
Modifying the MDL scss files to include ‘px’ fixes the issue, but this just opens future errors if MDL is updated and overrides the modifications. Is this intended or a bug?