From 3f6c85637c26c35f7a2ea64c61df13834a9f26a6 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 25 Sep 2020 13:51:03 +0300 Subject: [PATCH] Containment Module L2 (WD, 2020-06-03) --- 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 94b156e7..e83deeca 100644 --- a/edit/codemirror-default.js +++ b/edit/codemirror-default.js @@ -105,6 +105,7 @@ } Object.assign(CodeMirror.mimeModes['text/css'].propertyKeywords, { + 'content-visibility': true, 'overflow-anchor': true, 'overscroll-behavior': true, }); diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index 263fb54d..41f831da 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -286,6 +286,7 @@ self.parserlib = (() => { 'columns': 1, 'contain': 'none | strict | content | [ size || layout || style || paint ]', 'content': 'normal | none | [ / ]?', + 'content-visibility': 'visible | auto | hidden', 'counter-increment': 1, 'counter-reset': 1, 'crop': 'rect() | inset-rect() | auto',