From 3fcd4f8027f2046c4bb6b926ea12fcdb151f3f58 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 26 Jun 2022 21:37:43 +0300 Subject: [PATCH] code cosmetics --- js/csslint/parserlib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/csslint/parserlib.js b/js/csslint/parserlib.js index 952952ad..0c4d9600 100644 --- a/js/csslint/parserlib.js +++ b/js/csslint/parserlib.js @@ -732,7 +732,6 @@ self.parserlib = (() => { 'hidden | dotted | dashed | solid | double | groove | ridge | inset | outset', '': ' | thin | medium | thick', '': 'padding-box | border-box | content-box', - '': ' | closest-side | farthest-side', '': '', '': 'normal | ', '': 'space-between | space-around | space-evenly | stretch', @@ -786,6 +785,7 @@ self.parserlib = (() => { '': p => vtIsLength(p) || vtIsPct(p), '': p => p.value >= 0 && (p.type === 'percentage' || vtIsLength(p)) || p.isCalc, + '': ' | closest-side | farthest-side', '': p => p.isInt, '': ' | | normal', '': p => @@ -3719,7 +3719,7 @@ self.parserlib = (() => { if (next.type === Tokens.IDENT) { type = this._mediaFeature(); } else if (next.value === '(') { - expressions.push(this._mediaExpression({or: true})); + expressions.push(this._mediaExpression()); } else { return; }