diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index 33e8e960..d6c1eb90 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -2511,6 +2511,13 @@ self.parserlib = (() => { let result, m; if (this.simple[''](part)) { + if (expression._i < expression._parts.length - 1) { + expression.mark(); + expression._i++; + result = ValidationTypes.isType(expression, type); + expression.restore(); + expression._i += result ? 1 : 0; + } result = true; } else if (!type.startsWith('<')) {