Compare commits

...

6 Commits

Author SHA1 Message Date
Kyo Nagashima
3ec4a4bb4b 2.9.0 2025-11-09 19:08:22 +09:00
Kyo Nagashima
de15898a87 Update conditional-5.vim
https://www.w3.org/TR/2025/WD-css-conditional-5-20251030/
2025-11-04 18:11:18 +09:00
Kyo Nagashima
3b20ef3df2 Add anchor-position-2.vim
https://www.w3.org/TR/2025/WD-css-anchor-position-2-20251021/
2025-10-23 18:07:35 +09:00
Kyo Nagashima
dad0fd9dcc Update anchor-position-1.vim
https://www.w3.org/TR/2025/WD-css-anchor-position-1-20251007/
2025-10-09 12:41:34 +09:00
Kyo Nagashima
09920310c3 Add env-1.vim
https://www.w3.org/TR/2025/WD-css-env-1-20250923/
2025-09-25 18:34:04 +09:00
Kyo Nagashima
0d6d49c712 Update cssom-view-1.vim
https://www.w3.org/TR/2025/WD-cssom-view-1-20250916/
2025-09-18 07:25:48 +09:00
7 changed files with 32 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
syn keyword cssFontProp contained anchor-name anchor-scope position-area position-anchor position-try position-try-fallbacks position-try-order position-visibility syn keyword cssFontProp contained anchor-name anchor-scope position-area position-anchor position-try position-try-fallbacks position-try-order position-visibility
syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end self-x-start self-x-end span-self-x-start span-self-x-end span-all span-top span-bottom span-y-start span-y-end self-y-start self-y-end span-self-y-start span-self-y-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start
syn region cssFunction contained matchgroup=cssFunctionName start="\<anchor\(-size\)\=\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<anchor\(-size\)\=\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@position-try\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl syn match cssFontDescriptor "@position-try\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -0,0 +1 @@
syn keyword cssFontAttr contained anchored

View File

@@ -1,3 +1,3 @@
syn keyword cssFontProp contained container-type container-name container syn keyword cssFontProp contained container-type container-name container
syn keyword cssFontAttr contained inline-size syn keyword cssFontAttr contained inline-size
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl syn match cssFontDescriptor "@\(when\|else\|supports-condition\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -1,2 +0,0 @@
syn keyword cssFontProp contained scroll-behavior
syn keyword cssFontAttr contained smooth

View File

@@ -0,0 +1 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma

View File

@@ -1 +1,2 @@
syn keyword cssFontProp contained continue overflow-clip-margin overflow-block overflow-inline scrollbar-gutter block-ellipsis line-clamp max-lines syn keyword cssFontProp contained continue overflow-clip-margin overflow-block overflow-inline scrollbar-gutter block-ellipsis line-clamp max-lines scroll-behavior
syn keyword cssFontAttr contained smooth

View File

@@ -23,19 +23,19 @@
display: span-right; display: span-right;
display: span-x-start; display: span-x-start;
display: span-x-end; display: span-x-end;
display: x-self-start; display: self-x-start;
display: x-self-end; display: self-x-end;
display: span-x-self-start; display: span-self-x-start;
display: span-x-self-end; display: span-self-x-end;
display: span-all; display: span-all;
display: span-top; display: span-top;
display: span-bottom; display: span-bottom;
display: span-y-start; display: span-y-start;
display: span-y-end; display: span-y-end;
display: y-self-start; display: self-y-start;
display: y-self-end; display: self-y-end;
display: span-y-self-start; display: span-self-y-start;
display: span-y-self-end; display: span-self-y-end;
display: span-block-start; display: span-block-start;
display: span-block-end; display: span-block-end;
display: self-block-start; display: self-block-start;
@@ -60,10 +60,15 @@
display: flip-block; display: flip-block;
display: flip-inline; display: flip-inline;
display: flip-start; display: flip-start;
display: dialog;
display: anchor(--x 50%); display: anchor(--x 50%);
display: anchor-size(--foo height); display: anchor-size(--foo height);
} }
.anchor-position-2 {
display: anchored;
}
.animations-1 { .animations-1 {
display: auto; display: auto;
} }
@@ -268,6 +273,12 @@
} }
} }
@supports-condition --thicker-underlines {
.conditional-5 {
display: auto;
}
}
.contain-1 { .contain-1 {
contain: auto; contain: auto;
display: layout; display: layout;
@@ -354,11 +365,10 @@
} }
.cssom-1 { .cssom-1 {
display: auto;
} }
.cssom-view-1 { .cssom-view-1 {
scroll-behavior: smooth; display: auto;
} }
.device-adapt-1 { .device-adapt-1 {
@@ -392,6 +402,10 @@
display: linear(0, 0.25, 1); display: linear(0, 0.25, 1);
} }
.env-1 {
display: env(foo, red, blue);
}
.exclusions-3 { .exclusions-3 {
wrap-flow: auto; wrap-flow: auto;
wrap-through: auto; wrap-through: auto;
@@ -840,9 +854,11 @@ mask {
overflow-inline: auto; overflow-inline: auto;
scrollbar-gutter: auto; scrollbar-gutter: auto;
block-ellipsis: auto; block-ellipsis: auto;
scroll-behavior: auto;
line-clamp: auto; line-clamp: auto;
max-lines: auto; max-lines: auto;
continue: auto; continue: auto;
display: smooth;
} }
.overflow-4::nth-fragment(1) { .overflow-4::nth-fragment(1) {