Files
vim-css3-syntax/after/syntax/css/css-gcpm-3.vim
Kyo Nagashima a37b31b9a7 Follow WD-css-gcpm-3-20140513
See also: http://www.w3.org/TR/2014/WD-css-gcpm-3-20140513/

NOTE: Some functions are not highlighted correctly.
2014-05-14 01:54:06 +09:00

8 lines
589 B
VimL

syn keyword cssGeneratedContentProp contained running
syn match cssGeneratedContentProp contained "\<string-set\>"
syn match cssGeneratedContentProp contained "\<footnote-\(display\|policy\)\>"
syn match cssGeneratedContentProp contained "\<bookmark-\(label\|level\|state\)\>"
syn keyword cssGeneratedContentAttr contained footnote line open closed
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(string\|running\|element\|leader\|target-\(counter\|counters\|text\)\)\s*(" end=")" oneline keepend
syn match cssPseudoClassId contained "\<footnote-\(call\|marker\)\>"