parse a few nonstandard webkit CSS properties
This commit is contained in:
parent
28ef5572ba
commit
32cd558dda
|
@ -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,
|
||||
|
|
|
@ -603,6 +603,13 @@ self.parserlib = (() => {
|
|||
// Z
|
||||
'z-index': '<integer> | auto',
|
||||
'zoom': '<number> | <percentage> | normal',
|
||||
|
||||
// nonstandard https://compat.spec.whatwg.org/
|
||||
'-webkit-box-reflect': '[ above | below | right | left ]? <length>? <image>?',
|
||||
'-webkit-text-fill-color': '<color>',
|
||||
'-webkit-text-stroke': '<border-width> || <color>',
|
||||
'-webkit-text-stroke-color': '<color>',
|
||||
'-webkit-text-stroke-width': '<border-width>',
|
||||
};
|
||||
|
||||
//endregion
|
||||
|
|
Loading…
Reference in New Issue
Block a user