add css3-sizing.vim and test

This commit is contained in:
Kyo Nagashima
2013-05-27 00:06:59 +09:00
parent 28e8833535
commit 60a98a82ef
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
" TODO: create cssSizingAttr group
syn match cssFontAttr contained "\<repudiate-floats\>"
syn match cssFontAttr contained "\<contain-floats\>"

View File

@@ -353,6 +353,15 @@
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
(display: auto) not
(display: auto) {