diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index 51d1370e..11987146 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -272,16 +272,8 @@ self.parserlib = (() => { // D 'direction': 'ltr | rtl', - 'display': 'inline | block | list-item | inline-block | table | inline-table | ' + - 'table-row-group | table-header-group | table-footer-group | table-row | ' + - 'table-column-group | table-column | table-cell | table-caption | grid | ' + - 'inline-grid | run-in | ruby | ruby-base | ruby-text | ruby-base-container | ' + - 'ruby-text-container | contents | none | -moz-box | -moz-inline-block | ' + - '-moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | ' + - '-moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | ' + - '-moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | ' + - '-ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | ' + - '-webkit-inline-flex', + 'display': '[ || ] | ' + + ' | | | ', 'dominant-baseline': 'auto | use-script | no-change | reset-size | ideographic | alphabetic | ' + 'hanging | mathematical | central | middle | text-after-edge | text-before-edge', @@ -660,6 +652,14 @@ self.parserlib = (() => { '': 'ease | ease-in | ease-out | ease-in-out | cubic-bezier()', + '': 'contents | none', + '': 'flow | flow-root | table | flex | grid | ruby', + '': 'table-row-group | table-header-group | table-footer-group | table-row | ' + + 'table-cell | table-column-group | table-column | table-caption | ' + + 'ruby-base | ruby-text | ruby-base-container | ruby-text-container', + '': 'inline-block | inline-table | inline-flex | inline-grid', + '': 'block | inline | run-in', + '': part => part.type === 'function' && /^[A-Z0-9]{4}$/i.test(part), // custom() isn't actually in the spec @@ -885,6 +885,8 @@ self.parserlib = (() => { Matcher.cast('') .braces(1, Infinity, '#', Matcher.cast(',').question()), + '': 'list-item && ? && [ flow | flow-root ]?', + '' : '[ ? ]+ ?', '': ' | *',