mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-10 04:21:50 +08:00
add css3-sizing.vim and test
This commit is contained in:
3
after/syntax/css/css3-sizing.vim
Normal file
3
after/syntax/css/css3-sizing.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
" TODO: create cssSizingAttr group
|
||||||
|
syn match cssFontAttr contained "\<repudiate-floats\>"
|
||||||
|
syn match cssFontAttr contained "\<contain-floats\>"
|
||||||
@@ -353,6 +353,15 @@
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sizing {
|
||||||
|
width: fill-available;
|
||||||
|
width: max-content;
|
||||||
|
width: min-content;
|
||||||
|
width: fit-content;
|
||||||
|
width: repudiate-floats;
|
||||||
|
min-width: contain-floats;
|
||||||
|
}
|
||||||
|
|
||||||
@supports (display: auto) or
|
@supports (display: auto) or
|
||||||
(display: auto) not
|
(display: auto) not
|
||||||
(display: auto) {
|
(display: auto) {
|
||||||
|
|||||||
Reference in New Issue
Block a user