Compare commits

..

5 Commits

Author SHA1 Message Date
Kyo Nagashima
935b51f9b3 Version 0.21.0 2017-04-15 20:41:37 +09:00
Kyo Nagashima
708f7afb01 Prefer CSS spec 2017-04-15 11:57:19 +09:00
Kyo Nagashima
7bfab47011 Follow changes in WD-css-align-3-20170407
No changes, see also: http://www.w3.org/TR/2017/WD-css-align-3-20170407/
2017-04-14 14:41:28 +09:00
Kyo Nagashima
2d8e5a3711 Add fill-stroke-3.vim
See also: http://www.w3.org/TR/2017/WD-fill-stroke-3-20170413/
2017-04-14 14:19:40 +09:00
Kyo Nagashima
8e6268701f Follow changes in WD-css-tables-3-20170307
No changes.

See also: http://www.w3.org/TR/2017/WD-css-tables-3-20170307/
2017-03-09 10:30:44 +09:00
5 changed files with 88 additions and 44 deletions

View File

@@ -0,0 +1,5 @@
syn match cssFontProp contained "\<\(fill\|stroke\)\(-\(break\|color\|image\|origin\|position\|size\|repeat\|opacity\)\)\=\>"
syn match cssFontProp contained "\<fill-rule\>"
syn match cssFontProp contained "\<stroke-\(width\|align\|line\(cap\|join\)\|miterlimit\|dash\(array\|offset\)\|dash-\(corner\|justify\)\)\>"
syn keyword cssFontAttr contained butt arcs stupid compress dashes gaps
syn match cssFontAttr contained "\<bounding-box\>"

View File

@@ -2,19 +2,16 @@ syn keyword cssTagName animate animateMotion animateTransform circle clipPath cu
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 keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality painted stroke viewport visibleFill visiblePainted visibleStroke
syn match cssFontAttr contained "\<context-\(fill\|stroke\)\>"
syn match cssFontAttr contained "\<fixed-position\>"
syn match cssFontAttr contained "\<miter\(-clip\)\=\>"

View File

@@ -62,6 +62,7 @@ syn include @htmlCss syntax/css/css3-speech.vim
syn include @htmlCss syntax/css/css3-transitions.vim
syn include @htmlCss syntax/css/cssom-1.vim
syn include @htmlCss syntax/css/cssom-view-1.vim
syn include @htmlCss syntax/css/fill-stroke-3.vim
syn include @htmlCss syntax/css/filter-effects-1.vim
syn include @htmlCss syntax/css/geometry-1.vim
syn include @htmlCss syntax/css/html5.vim

View File

@@ -223,6 +223,37 @@
wrap-through: maximum;
}
.fill-stroke-3 {
fill-rule: butt;
fill-break: arcs;
fill-color: stupid;
fill-image: compress;
fill-origin: dashes;
fill-position: gaps;
fill-size: bounding-box;
fill-repeat: auto;
fill: auto;
fill-opacity: auto;
stroke-width: auto;
stroke-align: auto;
stroke-linecap: auto;
stroke-linejoin: auto;
stroke-miterlimit: auto;
stroke-break: auto;
stroke-dasharray: auto;
stroke-dashoffset: auto;
stroke-dash-corner: auto;
stroke-dash-justify: auto;
stroke-color: auto;
stroke-image: auto;
stroke-origin: auto;
stroke-position: auto;
stroke-size: auto;
stroke-repeat: auto;
stroke: auto;
stroke-opacity: auto;
}
.filter-effects-1 {
flood-color: sRGB;
flood-opacity: linearRGB;
@@ -854,18 +885,15 @@ tspan,
unknown,
use,
view {
color-interpolation: arcs;
color-rendering: butt;
cx: crispEdges;
cy: geometricPrecision;
d: optimizeQuality;
fill-opacity: painted;
fill-rule: stroke;
fill: viewport;
color-interpolation: crispEdges;
color-rendering: geometricPrecision;
cx: optimizeQuality;
cy: painted;
d: visiblePainted;
image-rendering: visibleFill;
marker-end: visiblePainted;
marker-mid: visibleStroke;
marker-start: bounding-box;
marker-end: stroke;
marker-mid: viewport;
marker-start: visibleStroke;
pointer-events: context-fill;
r: context-stroke;
rx: fixed-position;
@@ -875,15 +903,7 @@ view {
solid-opacity: non-scaling-size;
stop-color: non-rotation;
stop-opacity: child(1);
stroke-dasharray: icc-color(foo);
stroke-dashoffset: auto;
stroke-linecap: auto;
stroke-linejoin: auto;
stroke-miterlimit: auto;
stroke-opacity: auto;
stroke-width: auto;
stroke: auto;
text-anchor: auto;
text-anchor: icc-color(foo);
vector-effect: auto;
x: auto;
y: auto;

View File

@@ -252,6 +252,38 @@
}
</style>
<style>
.fill-stroke-3 {
fill-rule: butt;
fill-break: arcs;
fill-color: stupid;
fill-image: compress;
fill-origin: dashes;
fill-position: gaps;
fill-size: bounding-box;
fill-repeat: auto;
fill: auto;
fill-opacity: auto;
stroke-width: auto;
stroke-align: auto;
stroke-linecap: auto;
stroke-linejoin: auto;
stroke-miterlimit: auto;
stroke-break: auto;
stroke-dasharray: auto;
stroke-dashoffset: auto;
stroke-dash-corner: auto;
stroke-dash-justify: auto;
stroke-color: auto;
stroke-image: auto;
stroke-origin: auto;
stroke-position: auto;
stroke-size: auto;
stroke-repeat: auto;
stroke: auto;
stroke-opacity: auto;
}
</style>
<style>
.filter-effects-1 {
flood-color: sRGB;
flood-opacity: linearRGB;
@@ -936,18 +968,15 @@ tspan,
unknown,
use,
view {
color-interpolation: arcs;
color-rendering: butt;
cx: crispEdges;
cy: geometricPrecision;
d: optimizeQuality;
fill-opacity: painted;
fill-rule: stroke;
fill: viewport;
color-interpolation: crispEdges;
color-rendering: geometricPrecision;
cx: optimizeQuality;
cy: painted;
d: visiblePainted;
image-rendering: visibleFill;
marker-end: visiblePainted;
marker-mid: visibleStroke;
marker-start: bounding-box;
marker-end: stroke;
marker-mid: viewport;
marker-start: visibleStroke;
pointer-events: context-fill;
r: context-stroke;
rx: fixed-position;
@@ -957,15 +986,7 @@ view {
solid-opacity: non-scaling-size;
stop-color: non-rotation;
stop-opacity: child(1);
stroke-dasharray: icc-color(foo);
stroke-dashoffset: auto;
stroke-linecap: auto;
stroke-linejoin: auto;
stroke-miterlimit: auto;
stroke-opacity: auto;
stroke-width: auto;
stroke: auto;
text-anchor: auto;
text-anchor: icc-color(foo);
vector-effect: auto;
x: auto;
y: auto;