From 51e56110e8dfd1b9691adfdb91feefd3f7f611db Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 10 Jan 2022 07:30:22 +0300 Subject: [PATCH] parserlib: color-scheme, scrollbar-gutter, transforms --- js/csslint/parserlib.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/js/csslint/parserlib.js b/js/csslint/parserlib.js index cdef79a3..2bd75ada 100644 --- a/js/csslint/parserlib.js +++ b/js/csslint/parserlib.js @@ -195,7 +195,7 @@ self.parserlib = (() => { 'color-interpolation-filters': 'auto | sRGB | linearRGB', 'color-profile': 1, 'color-rendering': 'auto | optimizeSpeed | optimizeQuality', - 'color-scheme': 'normal | [ light | dark ]+', + 'color-scheme': 'normal | [ light | dark | ]+ && only?', 'column-count': ' | auto', 'column-fill': 'auto | balance', 'column-gap': '', @@ -522,6 +522,7 @@ self.parserlib = (() => { 'scroll-snap-type': 'none | [ x | y | block | inline | both ] [ mandatory | proximity ]?', 'scrollbar-color': 'auto | dark | light | {2}', + 'scrollbar-gutter': 'auto | [ [ stable | always ] && both-edges? && force? ] || match-parent', 'scrollbar-width': 'auto | thin | none', 'shape-inside': 'auto | outside-shape | [ || shape-box ] | | display', 'shape-rendering': 'auto | optimizeSpeed | crispEdges | geometricPrecision', @@ -983,12 +984,12 @@ self.parserlib = (() => { 'matrix( #{6} ) | ' + 'matrix3d( #{16} ) | ' + 'perspective( | none ) | ' + - 'rotate( ) | ' + + 'rotate( | none ) | ' + 'rotate3d( #{3} , ) | ' + 'rotateX( ) | ' + 'rotateY( ) | ' + 'rotateZ( ) | ' + - 'scale( [ ]#{1,2} ) | ' + + 'scale( [ ]#{1,2} | none ) | ' + 'scale3d( #{3} ) | ' + 'scaleX( ) | ' + 'scaleY( ) | ' + @@ -996,7 +997,7 @@ self.parserlib = (() => { 'skew( [ , ]? ) | ' + 'skewX( ) | ' + 'skewY( ) | ' + - 'translate( #{1,2} ) | ' + + 'translate( #{1,2} | none ) | ' + 'translate3d( #{2} , ) | ' + 'translateX( ) | ' + 'translateY( ) | ' +