CSS Containment L1 (CR 2018-05-24)

https://www.w3.org/TR/css-contain-1/
This commit is contained in:
tophf 2018-05-24 12:53:36 +03:00
parent 261b74d6ad
commit f0c31f75b3
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@
}
Object.assign(CodeMirror.mimeModes['text/css'].propertyKeywords, {
'contain': true,
'mix-blend-mode': true,
'isolation': true,
// nonstandard https://compat.spec.whatwg.org/

View File

@ -257,6 +257,7 @@ self.parserlib = (() => {
'column-span': 'none | all',
'column-width': '<length> | auto',
'columns': 1,
'contain': 'none | strict | content | [ size || layout || style || paint ]',
'content': 'normal | none | <content-list> [ / <string> ]?',
'counter-increment': 1,
'counter-reset': 1,