From 60a98a82efb6929c0549e939dcc4cce9a8633659 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 27 May 2013 00:06:59 +0900 Subject: [PATCH] add css3-sizing.vim and test --- after/syntax/css/css3-sizing.vim | 3 +++ test/test.css | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 after/syntax/css/css3-sizing.vim diff --git a/after/syntax/css/css3-sizing.vim b/after/syntax/css/css3-sizing.vim new file mode 100644 index 0000000..741547a --- /dev/null +++ b/after/syntax/css/css3-sizing.vim @@ -0,0 +1,3 @@ +" TODO: create cssSizingAttr group +syn match cssFontAttr contained "\" +syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index 2f3081f..ec40e0f 100644 --- a/test/test.css +++ b/test/test.css @@ -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) {