Skip to content

Commit 50adac8

Browse files
committed
1 parent 1fc1ff5 commit 50adac8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

after/syntax/css/shapes-1.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
syn keyword cssFontProp contained shape-outside shape-image-threshold shape-margin
22
syn keyword cssFontAttr contained margin-box
3-
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend
3+
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\|shape\)\s*(" end=")" oneline keepend

test/test.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,7 @@ mask {
10991099
display: circle(100px 50px 100px);
11001100
display: ellipse(0 0 250px 100px);
11011101
display: polygon(0 0, 100% 100%, 0 100%);
1102+
display: shape(from 0% 0%, hline to 100%, line to 0% 100%, vline to 0%);
11021103
}
11031104

11041105
.sizing-3 {

0 commit comments

Comments
 (0)