Follow changes in WD-css-fonts-4-20180920

See also: https://www.w3.org/TR/2018/WD-css-fonts-4-20180920/
This commit is contained in:
Kyo Nagashima
2018-09-23 09:58:00 +09:00
parent 98cfdbf087
commit 36900064ff
2 changed files with 3 additions and 0 deletions

View File

@@ -5,9 +5,11 @@ syn match cssFontProp contained "\<font-variation-settings\>"
syn match cssFontProp contained "\<font-palette\>"
syn match cssFontProp contained "\<font-presentation\>"
syn match cssFontProp contained "\<base-palette\>"
syn match cssFontProp contained "\<override-color\>"
syn match cssFontProp contained "\<font-variant-emoji\>"
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
syn match cssFontAttr contained "\<system-ui\>"
syn match cssFontAttr contained "\<historical-forms\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -361,6 +361,7 @@
@font-palette-values Test {
base-palette: 1;
override-color: 1 rgb(43, 12, 9);
}
.gcpm-3::footnote-call,