From 44f3a79353632ecddd3660f14d8c0ec972c7741d Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 10 Jun 2018 12:42:41 +0300 Subject: [PATCH] CSS Logical Properties and Values L1 - CodeMirror --- edit/codemirror-default.js | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/edit/codemirror-default.js b/edit/codemirror-default.js index f9ead2b2..b1f413bb 100644 --- a/edit/codemirror-default.js +++ b/edit/codemirror-default.js @@ -102,6 +102,56 @@ } Object.assign(CodeMirror.mimeModes['text/css'].propertyKeywords, { + // CSS Logical Properties and Values L1 + 'block-size': true, + 'border-block-color': true, + 'border-block-end': true, + 'border-block-end-color': true, + 'border-block-end-style': true, + 'border-block-end-width': true, + 'border-block-start': true, + 'border-block-start-color': true, + 'border-block-start-style': true, + 'border-block-start-width': true, + 'border-block-style': true, + 'border-block-width': true, + 'border-inline-color': true, + 'border-inline-end': true, + 'border-inline-end-color': true, + 'border-inline-end-style': true, + 'border-inline-end-width': true, + 'border-inline-start': true, + 'border-inline-start-color': true, + 'border-inline-start-style': true, + 'border-inline-start-width': true, + 'border-inline-style': true, + 'border-inline-width': true, + 'inline-size': true, + 'inset': true, + 'inset-block': true, + 'inset-block-end': true, + 'inset-block-start': true, + 'inset-inline': true, + 'inset-inline-end': true, + 'inset-inline-start': true, + 'margin-block': true, + 'margin-block-end': true, + 'margin-block-start': true, + 'margin-inline': true, + 'margin-inline-end': true, + 'margin-inline-start': true, + 'max-block-size': true, + 'max-inline-size': true, + 'min-block-size': true, + 'min-inline-size': true, + 'padding-block': true, + 'padding-block-end': true, + 'padding-block-start': true, + 'padding-inline': true, + 'padding-inline-end': true, + 'padding-inline-start': true, + 'text-align-all': true, + 'contain': true, 'mix-blend-mode': true, 'isolation': true, @@ -115,6 +165,8 @@ }); Object.assign(CodeMirror.mimeModes['text/css'].valueKeywords, { 'isolate': true, + 'recto': true, + 'verso': true, }); Object.assign(CodeMirror.mimeModes['text/css'].colorKeywords, { 'darkgrey': true,