From 50adac88c42c373ce9cfa54b9e2e225e6a159ee3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Jun 2025 08:29:59 +0900 Subject: [PATCH] Update shapes-1.vim https://www.w3.org/TR/2025/CRD-css-shapes-1-20250612/ --- after/syntax/css/shapes-1.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/shapes-1.vim b/after/syntax/css/shapes-1.vim index 11e74e3..faa9f27 100644 --- a/after/syntax/css/shapes-1.vim +++ b/after/syntax/css/shapes-1.vim @@ -1,3 +1,3 @@ syn keyword cssFontProp contained shape-outside shape-image-threshold shape-margin syn keyword cssFontAttr contained margin-box -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\|shape\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 02a8b14..8bb2858 100644 --- a/test/test.css +++ b/test/test.css @@ -1099,6 +1099,7 @@ mask { display: circle(100px 50px 100px); display: ellipse(0 0 250px 100px); display: polygon(0 0, 100% 100%, 0 100%); + display: shape(from 0% 0%, hline to 100%, line to 0% 100%, vline to 0%); } .sizing-3 {