Update fonts-4.vim

https://www.w3.org/TR/2019/WD-css-fonts-4-20191113/
This commit is contained in:
Kyo Nagashima
2019-11-23 08:06:07 +09:00
parent 81364390d3
commit c1f03abe28
2 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
syn match cssFontProp contained "\<font-display\>" syn match cssFontProp contained "\<font-display\>"
syn match cssFontProp contained "\<font-optical-sizing\>" syn match cssFontProp contained "\<font-optical-sizing\>"
syn match cssFontProp contained "\<font-variation-settings\>" syn match cssFontProp contained "\<font-variation-settings\>"
@@ -9,7 +8,9 @@ syn match cssFontProp contained "\<override-color\>"
syn match cssFontProp contained "\<font-variant-emoji\>" syn match cssFontProp contained "\<font-variant-emoji\>"
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
syn match cssFontAttr contained "\<system-ui\>" syn match cssFontAttr contained "\<system-ui\>"
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
syn match cssFontAttr contained "\<historical-forms\>" syn match cssFontAttr contained "\<historical-forms\>"
syn match cssFontAttr contained "\<xxx-large\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend 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-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -359,8 +359,6 @@
} }
.fonts-4 { .fonts-4 {
font-min-size: auto;
font-max-size: auto;
font-display: auto; font-display: auto;
font-optical-sizing: auto; font-optical-sizing: auto;
font-variation-settings: auto; font-variation-settings: auto;
@@ -384,6 +382,11 @@
display: optional; display: optional;
display: light; display: light;
display: dark; display: dark;
display: ui-serif;
display: ui-sans-serif;
display: ui-monospace;
display: ui-rounded;
display: xxx-large;
} }
@font-palette-values Test { @font-palette-values Test {