From 1749f06674441a2bb0ebf884cc8f33818f41c321 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 26 Dec 2017 12:01:57 +0300 Subject: [PATCH] CSSLint: CSS Transform Module Level 2 (ED 2017-11-09) https://drafts.csswg.org/css-transforms-2/ --- vendor-overwrites/csslint/csslint-worker.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/vendor-overwrites/csslint/csslint-worker.js b/vendor-overwrites/csslint/csslint-worker.js index af4fc46e..64a2140a 100644 --- a/vendor-overwrites/csslint/csslint-worker.js +++ b/vendor-overwrites/csslint/csslint-worker.js @@ -3820,8 +3820,8 @@ var Properties = module.exports = { "pause" : 1, "pause-after" : 1, "pause-before" : 1, - "perspective" : 1, - "perspective-origin" : 1, + "perspective" : "none | ", + "perspective-origin" : "", "phonemes" : 1, "pitch" : 1, "pitch-range" : 1, @@ -3845,6 +3845,7 @@ var Properties = module.exports = { "rest-before" : 1, "richness" : 1, "right" : "", + "rotate" : "none | {3}? ", "rotation" : 1, "rotation-point" : 1, "row-gap" : "", @@ -3854,6 +3855,7 @@ var Properties = module.exports = { "ruby-span" : 1, //S + "scale" : "none | {1,3}", "shape-rendering" : "auto | optimizeSpeed | crispEdges | geometricPrecision", "size" : 1, "speak" : "normal | none | spell-out", @@ -3905,12 +3907,13 @@ var Properties = module.exports = { "transform" : "none | +", "transform-box" : "border-box | fill-box | view-box", "transform-origin" : "", - "transform-style" : 1, + "transform-style" : "auto | flat | preserve-3d", "transition" : 1, "transition-delay" : 1, "transition-duration" : 1, "transition-property" : 1, "transition-timing-function" : 1, + "translate" : "none | [ ? ]?", //U "unicode-range" : "#", @@ -6583,13 +6586,9 @@ copy(ValidationTypes, { "": // Because our `alt` combinator is ordered, we need to test these // in order from longest possible match to shortest. - "[ center | [ left | right ] [ | ]? ] && " + - "[ center | [ top | bottom ] [ | ]? ]" + - " | " + - "[ left | center | right | | ] " + - "[ top | center | bottom | | ]" + - " | " + - "[ left | center | right | top | bottom | | ]", + "[ [ left | right ] ] && [ [ top | bottom ] ] | " + + "[ left | center | right | ] [ top | center | bottom | ]? | " + + "[ left | center | right ] || [ top | center | bottom ]", "": "repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}",