From 536064ae9a03a65f8344a72a7c4cb503b9dcfb19 Mon Sep 17 00:00:00 2001 From: tophf Date: Sat, 2 Dec 2017 05:13:55 +0300 Subject: [PATCH] csslint fixup 88885403: 'simple' doesn't support conditional grammar --- vendor-overwrites/csslint/csslint-worker.js | 28 ++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/vendor-overwrites/csslint/csslint-worker.js b/vendor-overwrites/csslint/csslint-worker.js index 666cedc3..e150c755 100644 --- a/vendor-overwrites/csslint/csslint-worker.js +++ b/vendor-overwrites/csslint/csslint-worker.js @@ -6099,12 +6099,6 @@ copy(ValidationTypes, { "": "xx-small | x-small | small | medium | large | x-large | xx-large", - "": - "normal | | | ? ", - - "": - "auto | normal | stretch | | ? ", - "": "scroll-position | contents | ", @@ -6121,8 +6115,6 @@ copy(ValidationTypes, { "": "attr()", - "": "[ first | last ]? baseline", - // inset() = inset( {1,4} [round ]? ) // circle() = circle( []? [at ]? ) // ellipse() = ellipse( [{2}]? [at ]? ) @@ -6236,12 +6228,6 @@ copy(ValidationTypes, { return part.type === "integer"; }, - "": - "normal | | ? [ | left | right ]", - - "": - "auto | normal | stretch | | ? [ | left | right ]", - "": function(part) { if (part.type === "function" && /^(?:\-(?:ms|moz|o|webkit)\-)?calc/i.test(part)) { return true; @@ -6329,6 +6315,12 @@ copy(ValidationTypes, { complex: { __proto__: null, + "": + "normal | | | ? ", + + "": + "auto | normal | stretch | | ? ", + "": "" + " | " + @@ -6337,6 +6329,8 @@ copy(ValidationTypes, { " | "+ "leftwards | rightwards", + "": "[ first | last ]? baseline", + "": "#", "": @@ -6424,6 +6418,12 @@ copy(ValidationTypes, { "[ full-width | proportional-width ] || " + "ruby", + "": + "normal | | ? [ | left | right ]", + + "": + "auto | normal | stretch | | ? [ | left | right ]", + // Note that here is "as defined in the SVG spec", which // is more restrictive that the defined in the CSS spec. // none | currentColor | []? |