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\)\>"

View File

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

View File

@@ -11,7 +11,6 @@ syn include @htmlCss syntax/css/css3-colors.vim
syn include @htmlCss syntax/css/css3-content.vim syn include @htmlCss syntax/css/css3-content.vim
syn include @htmlCss syntax/css/css3-exclusions.vim syn include @htmlCss syntax/css/css3-exclusions.vim
syn include @htmlCss syntax/css/css3-fonts.vim syn include @htmlCss syntax/css/css3-fonts.vim
syn include @htmlCss syntax/css/css3-gcpm.vim
syn include @htmlCss syntax/css/css3-hyperlinks.vim syn include @htmlCss syntax/css/css3-hyperlinks.vim
syn include @htmlCss syntax/css/css3-images.vim syn include @htmlCss syntax/css/css3-images.vim
syn include @htmlCss syntax/css/css3-layout.vim syn include @htmlCss syntax/css/css3-layout.vim
@@ -33,6 +32,7 @@ syn include @htmlCss syntax/css/css3-values.vim
syn include @htmlCss syntax/css/css-counter-styles-3.vim syn include @htmlCss syntax/css/css-counter-styles-3.vim
syn include @htmlCss syntax/css/css-display-3.vim syn include @htmlCss syntax/css/css-display-3.vim
syn include @htmlCss syntax/css/css-flexbox-1.vim syn include @htmlCss syntax/css/css-flexbox-1.vim
syn include @htmlCss syntax/css/css-gcpm-3.vim
syn include @htmlCss syntax/css/css-grid-1.vim syn include @htmlCss syntax/css/css-grid-1.vim
syn include @htmlCss syntax/css/css-line-grid-1.vim syn include @htmlCss syntax/css/css-line-grid-1.vim
syn include @htmlCss syntax/css/css-lists-3.vim syn include @htmlCss syntax/css/css-lists-3.vim

View File

@@ -169,15 +169,19 @@
display: proportional-width; display: proportional-width;
} }
.gcpm { .gcpm::footnote-call,
bleed: target-counter(attr(href, url), page, decimal); .gcpm::footnote-marker {
marks: target-text(attr(href), content()); string-set: string(heading, first);
bookmark-label: open; running: running(heading);
bookmark-level: closed; footnote-display: element(header);
bookmark-state: target-text(attr(href), content()); footnote-policy: footnote;
bookmark-target: crop; bookmark-label: line;
float-offset: cross; bookmark-level: leader('.');
string-set: auto; bookmark-state: target-counter(attr(href url), page);
display: target-counters(lack-of-example);
display: target-text(attr(href url));
display: open;
display: closed;
} }
.grid-layout { .grid-layout {

View File

@@ -179,15 +179,20 @@
display: proportional-width; display: proportional-width;
} }
.gcpm {
bleed: target-counter(attr(href, url), page, decimal); .gcpm::footnote-call,
marks: target-text(attr(href), content()); .gcpm::footnote-marker {
bookmark-label: open; string-set: string(heading, first);
bookmark-level: closed; running: running(heading);
bookmark-state: target-text(attr(href), content()); footnote-display: element(header);
bookmark-target: crop; footnote-policy: footnote;
float-offset: cross; bookmark-label: line;
string-set: auto; bookmark-level: leader('.');
bookmark-state: target-counter(attr(href url), page);
display: target-counters(lack-of-example);
display: target-text(attr(href url));
display: open;
display: closed;
} }
.grid-layout { .grid-layout {