From 30983db679f82d000d293cad5dbe37be7149d7f3 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 22 Sep 2020 13:56:53 +0300 Subject: [PATCH] Scroll Anchoring L1 (ED 2020-09-18) (#1038) --- edit/codemirror-default.js | 1 + vendor-overwrites/csslint/parserlib.js | 1 + 2 files changed, 2 insertions(+) diff --git a/edit/codemirror-default.js b/edit/codemirror-default.js index 8576d9e0..94b156e7 100644 --- a/edit/codemirror-default.js +++ b/edit/codemirror-default.js @@ -105,6 +105,7 @@ } Object.assign(CodeMirror.mimeModes['text/css'].propertyKeywords, { + 'overflow-anchor': true, 'overscroll-behavior': true, }); Object.assign(CodeMirror.mimeModes['text/css'].colorKeywords, { diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index 7a92912f..263fb54d 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -508,6 +508,7 @@ self.parserlib = (() => { 'outline-style': ' | auto', 'outline-width': '', 'overflow': '{1,2}', + 'overflow-anchor': 'auto | none', 'overflow-block': '', 'overflow-inline': '', 'overflow-style': 1,