Skip to content

Commit 2d8e5a3

Browse files
committed
1 parent 8e62687 commit 2d8e5a3

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

after/syntax/css/fill-stroke-3.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
syn match cssFontProp contained "\<\(fill\|stroke\)-\(break\|color\|image\|origin\|position\|size\|repeat\)\>"
2+
syn match cssFontProp contained "\<stroke-\(align\|dash-\(corner\|justify\)\)\>"
3+
syn keyword cssFontAttr contained stupid compress dashes gaps

after/syntax/html.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ syn include @htmlCss syntax/css/css3-speech.vim
6262
syn include @htmlCss syntax/css/css3-transitions.vim
6363
syn include @htmlCss syntax/css/cssom-1.vim
6464
syn include @htmlCss syntax/css/cssom-view-1.vim
65+
syn include @htmlCss syntax/css/fill-stroke-3.vim
6566
syn include @htmlCss syntax/css/filter-effects-1.vim
6667
syn include @htmlCss syntax/css/geometry-1.vim
6768
syn include @htmlCss syntax/css/html5.vim

test/test.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,26 @@
223223
wrap-through: maximum;
224224
}
225225

226+
.fill-stroke-3 {
227+
fill-break: stupid;
228+
fill-color: compress;
229+
fill-image: dashes;
230+
fill-origin: gaps;
231+
fill-position: auto;
232+
fill-size: auto;
233+
fill-repeat: auto;
234+
stroke-align: auto;
235+
stroke-break: auto;
236+
stroke-dash-corner: auto;
237+
stroke-dash-justify: auto;
238+
stroke-color: auto;
239+
stroke-image: auto;
240+
stroke-origin: auto;
241+
stroke-position: auto;
242+
stroke-size: auto;
243+
stroke-repeat: auto;
244+
}
245+
226246
.filter-effects-1 {
227247
flood-color: sRGB;
228248
flood-opacity: linearRGB;

test/test.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,27 @@
252252
}
253253
</style>
254254
<style>
255+
.fill-stroke-3 {
256+
fill-break: stupid;
257+
fill-color: compress;
258+
fill-image: dashes;
259+
fill-origin: gaps;
260+
fill-position: auto;
261+
fill-size: auto;
262+
fill-repeat: auto;
263+
stroke-align: auto;
264+
stroke-break: auto;
265+
stroke-dash-corner: auto;
266+
stroke-dash-justify: auto;
267+
stroke-color: auto;
268+
stroke-image: auto;
269+
stroke-origin: auto;
270+
stroke-position: auto;
271+
stroke-size: auto;
272+
stroke-repeat: auto;
273+
}
274+
</style>
275+
<style>
255276
.filter-effects-1 {
256277
flood-color: sRGB;
257278
flood-opacity: linearRGB;

0 commit comments

Comments
 (0)