add all svg elements acording to the standard (#178)
This commit is contained in:
parent
32de202845
commit
0fca6e961d
1 changed files with 16 additions and 4 deletions
|
|
@ -34,8 +34,20 @@ type
|
|||
kdb, sub, sup, italic = "i", bold = "b", underlined = "u",
|
||||
mark, ruby, rt, rp, bdi, dbo, span, br, wbr,
|
||||
ins, del, img, iframe, embed, `object` = "object",
|
||||
param, video, audio, picture, source, track, canvas, map,
|
||||
area, svg, math, path, circle
|
||||
param, video, audio, source, track, canvas, map,
|
||||
area, math,
|
||||
|
||||
# SVG elements, see: https://www.w3.org/TR/SVG2/eltindex.html
|
||||
animate, animateMotion, animateTransform, circle, clipPath, defs, desc,
|
||||
`discard` = "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, image, line, linearGradient, marker, mask,
|
||||
metadata, mpath, path, pattern, polygon, polyline, radialGradient, rect,
|
||||
`set` = "set", stop, svg, switch, symbol, txt = "text", textPath, tspan,
|
||||
unknown, use, view,
|
||||
|
||||
table, caption, colgroup, col, tbody, thead,
|
||||
tfoot, tr, td, th,
|
||||
|
|
@ -101,9 +113,9 @@ type
|
|||
ontransitionend,
|
||||
ontransitionrun,
|
||||
ontransitionstart,
|
||||
|
||||
|
||||
onwheel # fires when the user rotates a wheel button on a pointing device.
|
||||
|
||||
|
||||
macro buildLookupTables(): untyped =
|
||||
var a = newTree(nnkBracket)
|
||||
for i in low(VNodeKind)..high(VNodeKind):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue