foreignNames.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. export const elementNames = new Map([
  2. "altGlyph",
  3. "altGlyphDef",
  4. "altGlyphItem",
  5. "animateColor",
  6. "animateMotion",
  7. "animateTransform",
  8. "clipPath",
  9. "feBlend",
  10. "feColorMatrix",
  11. "feComponentTransfer",
  12. "feComposite",
  13. "feConvolveMatrix",
  14. "feDiffuseLighting",
  15. "feDisplacementMap",
  16. "feDistantLight",
  17. "feDropShadow",
  18. "feFlood",
  19. "feFuncA",
  20. "feFuncB",
  21. "feFuncG",
  22. "feFuncR",
  23. "feGaussianBlur",
  24. "feImage",
  25. "feMerge",
  26. "feMergeNode",
  27. "feMorphology",
  28. "feOffset",
  29. "fePointLight",
  30. "feSpecularLighting",
  31. "feSpotLight",
  32. "feTile",
  33. "feTurbulence",
  34. "foreignObject",
  35. "glyphRef",
  36. "linearGradient",
  37. "radialGradient",
  38. "textPath",
  39. ].map((val) => [val.toLowerCase(), val]));
  40. export const attributeNames = new Map([
  41. "definitionURL",
  42. "attributeName",
  43. "attributeType",
  44. "baseFrequency",
  45. "baseProfile",
  46. "calcMode",
  47. "clipPathUnits",
  48. "diffuseConstant",
  49. "edgeMode",
  50. "filterUnits",
  51. "glyphRef",
  52. "gradientTransform",
  53. "gradientUnits",
  54. "kernelMatrix",
  55. "kernelUnitLength",
  56. "keyPoints",
  57. "keySplines",
  58. "keyTimes",
  59. "lengthAdjust",
  60. "limitingConeAngle",
  61. "markerHeight",
  62. "markerUnits",
  63. "markerWidth",
  64. "maskContentUnits",
  65. "maskUnits",
  66. "numOctaves",
  67. "pathLength",
  68. "patternContentUnits",
  69. "patternTransform",
  70. "patternUnits",
  71. "pointsAtX",
  72. "pointsAtY",
  73. "pointsAtZ",
  74. "preserveAlpha",
  75. "preserveAspectRatio",
  76. "primitiveUnits",
  77. "refX",
  78. "refY",
  79. "repeatCount",
  80. "repeatDur",
  81. "requiredExtensions",
  82. "requiredFeatures",
  83. "specularConstant",
  84. "specularExponent",
  85. "spreadMethod",
  86. "startOffset",
  87. "stdDeviation",
  88. "stitchTiles",
  89. "surfaceScale",
  90. "systemLanguage",
  91. "tableValues",
  92. "targetX",
  93. "targetY",
  94. "textLength",
  95. "viewBox",
  96. "viewTarget",
  97. "xChannelSelector",
  98. "yChannelSelector",
  99. "zoomAndPan",
  100. ].map((val) => [val.toLowerCase(), val]));