diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index facea48d..3e0e823c 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -73,6 +73,8 @@ self.parserlib = (() => { dpi: 'resolution', dpcm: 'resolution', + + ar: 'dimension', }; //endregion @@ -627,6 +629,8 @@ self.parserlib = (() => { '': part => part.type === 'angle', + '': part => part.units && lower(part.units) === 'ar', + '': part => !/\battr\(/i.test(part.text), '': 'scroll | fixed | local', @@ -843,6 +847,7 @@ self.parserlib = (() => { complex: { '': 'normal | | | ' + + ' ? | ' + '? ', '': 'auto | normal | stretch | | ? ', @@ -958,8 +963,8 @@ self.parserlib = (() => { '': 'none | | ', '': '', - '': 'normal | | ? ' + - '[ | left | right ]', + '': 'normal | | ? | ' + + '? [ | left | right ]', '': 'auto | normal | stretch | | ? ' + '[ | left | right ]',