Follow changes in WD-css-content-3-20160602

See also: https://www.w3.org/TR/2016/WD-css-content-3-20160602/
This commit is contained in:
Kyo Nagashima
2016-06-08 19:39:30 +09:00
parent ac036acb57
commit 7656471758
6 changed files with 26 additions and 35 deletions

View File

@@ -0,0 +1,4 @@
syn match cssGeneratedContentProp contained "\<string-set\>"
syn match cssGeneratedContentProp contained "\<bookmark-\(label\|level\|state\)\>"
syn keyword cssGeneratedContentAttr contained open closed
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(leader\|string\|target-\(counter\|counters\|text\)\)\s*(" end=")" oneline keepend

View File

@@ -1,7 +1,5 @@
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 keyword cssGeneratedContentAttr contained footnote line
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(element\|running\)\s*(" end=")" oneline keepend
syn match cssPseudoClassId contained "\<footnote-\(call\|marker\)\>"

View File

@@ -1,3 +0,0 @@
syn match cssGeneratedContentProp contained "\<move-to\>"
syn match cssGeneratedContentProp contained "\<page-policy\>"
syn keyword cssGeneratedContentAttr contained inhibit here first last