Compare commits

...

18 Commits

Author SHA1 Message Date
Kyo Nagashima
213ac91578 1.8.1 2021-01-05 13:05:16 +09:00
Kyo Nagashima
bbfd67f785 Update contain-1.vim
https://www.w3.org/TR/2020/REC-css-contain-1-20201222/
2021-01-05 10:00:28 +09:00
Kyo Nagashima
0e25532d8a Update cascade-3.vim
https://www.w3.org/TR/2020/PR-css-cascade-3-20201222/
2021-01-05 09:59:25 +09:00
Kyo Nagashima
e74a5c6940 Update text-3.vim
https://www.w3.org/TR/2020/CR-css-text-3-20201222/
2021-01-05 09:56:49 +09:00
Kyo Nagashima
47f59169c0 Update box-3.vim
https://www.w3.org/TR/2020/CR-css-box-3-20201222/
2021-01-05 09:55:53 +09:00
Kyo Nagashima
cdbc9512db Update backgrounds-3.vim
https://www.w3.org/TR/2020/CR-css-backgrounds-3-20201222/
2021-01-05 09:54:53 +09:00
Kyo Nagashima
cb426f77cf Update pseudo-4.vim
https://www.w3.org/TR/2020/WD-css-pseudo-4-20201231/
2021-01-05 09:53:38 +09:00
Kyo Nagashima
4cabff16d6 Update display-3.vim
https://www.w3.org/TR/2020/CRD-css-display-3-20201218/
2020-12-19 18:41:13 +09:00
Kyo Nagashima
18d867b3b1 Update grid-1.vim
https://www.w3.org/TR/2020/CRD-css-grid-1-20201218/
2020-12-19 18:40:03 +09:00
Kyo Nagashima
0b4b3219e1 Update grid-2.vim
https://www.w3.org/TR/2020/CRD-css-grid-2-20201218/
2020-12-19 18:39:15 +09:00
Kyo Nagashima
be159483e9 Update sizing-3.vim
https://www.w3.org/TR/2020/WD-css-sizing-3-20201218/
2020-12-19 18:37:16 +09:00
Kyo Nagashima
fcb88f2110 Update contain-2.vim
https://www.w3.org/TR/2020/WD-css-contain-2-20201216/
2020-12-17 21:23:03 +09:00
Kyo Nagashima
1baaddd039 Update images-3.vim
https://www.w3.org/TR/2020/CRD-css-images-3-20201217/
2020-12-17 21:22:04 +09:00
Kyo Nagashima
c1dc0b4c7c Update conditional-3.vim
https://www.w3.org/TR/2020/CR-css-conditional-3-20201208/
2020-12-09 19:16:31 +09:00
Kyo Nagashima
6ea52b468a Update highlight-api-1.vim
https://www.w3.org/TR/2020/WD-css-highlight-api-1-20201208/
2020-12-09 19:14:00 +09:00
Kyo Nagashima
5a004b69ad Update text-3.vim
https://www.w3.org/TR/2020/WD-css-text-3-20201119/
2020-11-21 08:41:21 +09:00
Kyo Nagashima
750667a312 Update lists-3.vim
https://www.w3.org/TR/2020/WD-css-lists-3-20201117/
2020-11-19 16:24:04 +09:00
Kyo Nagashima
ab5722664a Update fonts-4.vim
https://www.w3.org/TR/2020/WD-css-fonts-4-20201117/
2020-11-19 16:21:47 +09:00
3 changed files with 39 additions and 21 deletions

View File

@@ -1,16 +1,19 @@
syn match cssFontProp contained "\<font-synthesis\(-\(weight\|style\|small-caps\|settings\)\)\=\>"
syn match cssFontProp contained "\<font-named-instance\>"
syn match cssFontProp contained "\<font-display\>"
syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>"
syn match cssFontProp contained "\<font-optical-sizing\>"
syn match cssFontProp contained "\<font-variation-settings\>"
syn match cssFontProp contained "\<font-palette\>"
syn match cssFontProp contained "\<font-variant-emoji\>"
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 keyword cssFontAttr contained emoji math fangsong swap fallback light dark
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 "\<xxx-large\>"
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-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -1,2 +1,3 @@
syn match cssPseudoClassId contained "\<inactive-selection\>"
syn match cssPseudoClassId contained "\<target-text\>"
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
syn match cssPseudoClassId contained "\<file-selectors-button\>"

View File

@@ -354,34 +354,47 @@
}
.fonts-4 {
font-synthesis-weight: auto;
font-synthesis-style: auto;
font-synthesis-small-caps: auto;
font-variation-settings: auto;
font-named-instance: auto;
font-display: auto;
ascent-override: auto;
descent-override: auto;
line-gap-override: auto;
font-optical-sizing: auto;
font-variation-settings: auto;
font-palette: auto;
font-presentation: auto;
font-variant-emoji: auto;
font-presentation: auto;
display: system-ui;
display: emoji;
display: math;
display: fangsong;
display: infinity;
display: stylistic(feature-value-name);
display: historical-forms;
display: styleset(feature-value-name #);
display: character-variant(feature-vlue-name #);
display: swash(feature-value-name);
display: ornaments(feature-value-name);
display: annotation(feature-value-name);
display: swap;
display: fallback;
display: optional;
display: light;
display: dark;
display: ui-serif;
display: ui-sans-serif;
display: ui-monospace;
display: ui-rounded;
display: xxx-large;
display: swap;
display: fallback;
display: historical-forms;
display: stylistic(feature-value-name);
display: styleset(feature-value-name #);
display: character-variant(feature-vlue-name #);
display: swash(feature-value-name);
display: ornaments(feature-value-name);
display: annotation(feature-value-name);
display: light;
display: dark;
}
@font-feature-values Test {
@swash {
swishy: 1;
flowing: 2;
}
}
@font-palette-values Test {
@@ -679,9 +692,10 @@ mask {
initial-value: auto;
}
.pseudo-4::inactive-selection,
.pseudo-4::target-text,
.pseudo-4::spelling-error,
.pseudo-4::grammer-error {
.pseudo-4::grammer-error,
.pseudi-4::file-selectors-button {
display: auto;
}