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.
This commit is contained in:
Kyo Nagashima
2014-05-14 01:54:06 +09:00
parent d7af6a3497
commit a37b31b9a7
5 changed files with 35 additions and 25 deletions

View File

@@ -0,0 +1,7 @@
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\)\>"