Follow WD-css-masking-1-20140522

See also: http://www.w3.org/TR/2014/WD-css-masking-1-20140522/
This commit is contained in:
Kyo Nagashima
2014-05-23 10:17:04 +09:00
parent a37b31b9a7
commit 324bec05c5
3 changed files with 41 additions and 36 deletions

View File

@@ -1,9 +1,10 @@
" TODO: create cssMaskingProp group and cssMaskingValue group
syn match cssFontProp contained "\<mask\(-\(image\|source-type\|repeat\|position\|clip\|origin\|size\|type\)\)\=\>"
syn match cssFontProp contained "\<mask-box-image\(-\(source\|slice\|width\|outset\|repeat\)\)\=\>"
syn match cssFontProp contained "\<clip-\(path\|rule\)\>"
syn keyword cssFontAttr contained alpha luminance nonzero evenodd
syn match cssFontProp contained "\<mask\(-\(image\|mode\|repeat\|position\|clip\|origin\|size\|composite\|type\)\)\=\>"
syn match cssFontProp contained "\<mask-border\(-\(source\|mode\|slice\|width\|outset\|repeat\)\)\=\>"
syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude
syn match cssFontAttr contained "\<\(fill\|stroke\|view\)-box\>"
syn match cssFontAttr contained "\<no-clip\>"
" http://www.w3.org/TR/css-masking/#MaskElement
" syn keyword cssTagName mask
syn keyword cssTagName mask