From 5c506f5cc93d77d0bfb7b966683d9aa8f6208538 Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 28 Aug 2017 12:36:09 +0300 Subject: [PATCH] csslint: support unicode-range --- vendor-overwrites/csslint/csslint-worker.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vendor-overwrites/csslint/csslint-worker.js b/vendor-overwrites/csslint/csslint-worker.js index 974d1cc5..40adb62f 100644 --- a/vendor-overwrites/csslint/csslint-worker.js +++ b/vendor-overwrites/csslint/csslint-worker.js @@ -3794,6 +3794,7 @@ var Properties = module.exports = { "transition-timing-function" : 1, //U + "unicode-range" : "#", "unicode-bidi" : "normal | embed | isolate | bidi-override | isolate-override | plaintext", "user-modify" : "read-only | read-write | write-only", "user-select" : "none | text | toggle | element | elements | all", @@ -6267,6 +6268,10 @@ copy(ValidationTypes, { return part.type === "time"; }, + "": function(part) { + return /^U\+[0-9a-f?]{1,6}(-[0-9a-f?]{1,6})?\s*$/i.test(part); + }, + "": function(part) { return part.type === "uri"; },