From 0eaee16f7efb525295f64dbf7315c45affc1db80 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 1 Dec 2017 23:04:38 +0300 Subject: [PATCH] csslint: allow "transparent" in SVG colors --- vendor-overwrites/csslint/csslint-worker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor-overwrites/csslint/csslint-worker.js b/vendor-overwrites/csslint/csslint-worker.js index a205bfda..666cedc3 100644 --- a/vendor-overwrites/csslint/csslint-worker.js +++ b/vendor-overwrites/csslint/csslint-worker.js @@ -6431,7 +6431,8 @@ copy(ValidationTypes, { "": " | ?", // Helper definition for above. - "": "none | currentColor | ?", + // Note: "transparent" is an accepted color now in SVG + "": "none | currentColor | ? | transparent", "": // Because our `alt` combinator is ordered, we need to test these