libsass icon indicating copy to clipboard operation
libsass copied to clipboard

alpha() should reject non-filter-like arguments

Open nex3 opened this issue 5 years ago • 0 comments

The alpha() function allows some unquoted strings as arguments for backwards-compatibility with support for IE's old filter syntax, but in keeping with Ruby Sass and Dart Sass, only unquoted strings that begin with the regular expression [a-zA-Z]+\s*= should be allowed. All other strings should be rejected. Currently LibSass accepts any unknown values and passes them through unmodified.

nex3 avatar May 28 '19 19:05 nex3