-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from hail2u/svg2
Support SVG 2 elements and attributes
- Loading branch information
Showing
4 changed files
with
231 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syn keyword cssTagName animate animateMotion animateTransform circle clipPath cursor defs desc discard ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter foreignObject g hatch hatchpath image line linearGradient marker mesh meshgradient meshpatch meshrow metadata mpath path pattern polygon polyline radialGradient rect set solidcolor stop switch symbol text textPath tspan unknown use view | ||
|
||
syn keyword cssFontProp contained cx cy d r rx ry x y | ||
syn match cssFontProp contained "\<color-\(interpolation\|rendering\)\>" | ||
syn match cssFontProp contained "\<fill\(-\(opacity\|rule\)\)\=\>" | ||
syn match cssFontProp contained "\<image-rendering\>" | ||
syn match cssFontProp contained "\<marker-\(end\|mid\|start\)\>" | ||
syn match cssFontProp contained "\<pointer-events\>" | ||
syn match cssFontProp contained "\<shape-rendering\>" | ||
syn match cssFontProp contained "\<solid-\(color\|opacity\)\>" | ||
syn match cssFontProp contained "\<stop-\(color\|opacity\)\>" | ||
syn match cssFontProp contained "\<stroke\(-\(dash\(array\|offset\)\|line\(cap\|join\)\|miterlimit\|opacity\|width\)\)\=\>" | ||
syn match cssFontProp contained "\<text-anchor\>" | ||
syn match cssFontProp contained "\<vector-effect\>" | ||
|
||
syn keyword cssFontAttr contained arcs butt crispEdges geometricPrecision optimizeQuality painted stroke viewport visibleFill visiblePainted visibleStroke | ||
syn match cssFontAttr contained "\<bounding-box\>" | ||
syn match cssFontAttr contained "\<context-\(fill\|stroke\)\>" | ||
syn match cssFontAttr contained "\<fixed-position\>" | ||
syn match cssFontAttr contained "\<miter\(-clip\)\=\>" | ||
syn match cssFontAttr contained "\<non-\(scaling-stroke\|scaling-size\|rotation\)\>" | ||
|
||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(child\|icc-color\)\s*(" end=")" oneline keepend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters