Update conditional-5.vim

https://www.w3.org/TR/2024/WD-css-conditional-5-20240723/
This commit is contained in:
Kyo Nagashima
2024-07-25 07:01:25 +09:00
parent cb6f429561
commit d066e83f01
2 changed files with 8 additions and 3 deletions

View File

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

View File

@@ -198,8 +198,8 @@
} }
@supports (display: auto) or @supports (display: auto) or
(display: auto) not (display: auto) not
(display: auto) { (display: auto) {
.conditional-3 { .conditional-3 {
display: auto; display: auto;
} }
@@ -213,7 +213,10 @@
@when media(screen) { @when media(screen) {
.conditional-5 { .conditional-5 {
display: auto; container-type: auto;
container-name: auto;
container: auto;
display: inline-size;
} }
} @else { } @else {
.conditional-5 { .conditional-5 {