diff --git a/edit/codemirror-default.js b/edit/codemirror-default.js index 1157e699..86089864 100644 --- a/edit/codemirror-default.js +++ b/edit/codemirror-default.js @@ -105,6 +105,13 @@ Object.assign(CodeMirror.mimeModes['text/css'].propertyKeywords, { 'mix-blend-mode': true, 'isolation': true, + // nonstandard https://compat.spec.whatwg.org/ + 'box-reflect': true, + 'text-fill-color': true, + 'text-stroke': true, + 'text-stroke-color': true, + 'text-stroke-width': true, + // end }); Object.assign(CodeMirror.mimeModes['text/css'].valueKeywords, { 'isolate': true, diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index ee0ea4fa..c661844c 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -603,6 +603,13 @@ self.parserlib = (() => { // Z 'z-index': ' | auto', 'zoom': ' | | normal', + + // nonstandard https://compat.spec.whatwg.org/ + '-webkit-box-reflect': '[ above | below | right | left ]? ? ?', + '-webkit-text-fill-color': '', + '-webkit-text-stroke': ' || ', + '-webkit-text-stroke-color': '', + '-webkit-text-stroke-width': '', }; //endregion