mappings.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.ELEMENT_TAG_NAME_MAPPING = exports.ELEMENT_ATTRIBUTE_MAPPING = exports.ATTRIBUTE_MAPPING = void 0;
  4. // From https://raw.githubusercontent.com/facebook/react/master/packages/react-dom/src/shared/possibleStandardNames.js
  5. const ATTRIBUTE_MAPPING = {
  6. // HTML
  7. accept: 'accept',
  8. acceptcharset: 'acceptCharset',
  9. 'accept-charset': 'acceptCharset',
  10. accesskey: 'accessKey',
  11. action: 'action',
  12. allowfullscreen: 'allowFullScreen',
  13. alt: 'alt',
  14. as: 'as',
  15. async: 'async',
  16. autocapitalize: 'autoCapitalize',
  17. autocomplete: 'autoComplete',
  18. autocorrect: 'autoCorrect',
  19. autofocus: 'autoFocus',
  20. autoplay: 'autoPlay',
  21. autosave: 'autoSave',
  22. capture: 'capture',
  23. cellpadding: 'cellPadding',
  24. cellspacing: 'cellSpacing',
  25. challenge: 'challenge',
  26. charset: 'charSet',
  27. checked: 'checked',
  28. children: 'children',
  29. cite: 'cite',
  30. class: 'className',
  31. classid: 'classID',
  32. classname: 'className',
  33. cols: 'cols',
  34. colspan: 'colSpan',
  35. content: 'content',
  36. contenteditable: 'contentEditable',
  37. contextmenu: 'contextMenu',
  38. controls: 'controls',
  39. controlslist: 'controlsList',
  40. coords: 'coords',
  41. crossorigin: 'crossOrigin',
  42. dangerouslysetinnerhtml: 'dangerouslySetInnerHTML',
  43. data: 'data',
  44. datetime: 'dateTime',
  45. default: 'default',
  46. defaultchecked: 'defaultChecked',
  47. defaultvalue: 'defaultValue',
  48. defer: 'defer',
  49. dir: 'dir',
  50. disabled: 'disabled',
  51. download: 'download',
  52. draggable: 'draggable',
  53. enctype: 'encType',
  54. for: 'htmlFor',
  55. form: 'form',
  56. formmethod: 'formMethod',
  57. formaction: 'formAction',
  58. formenctype: 'formEncType',
  59. formnovalidate: 'formNoValidate',
  60. formtarget: 'formTarget',
  61. frameborder: 'frameBorder',
  62. headers: 'headers',
  63. height: 'height',
  64. hidden: 'hidden',
  65. high: 'high',
  66. href: 'href',
  67. hreflang: 'hrefLang',
  68. htmlfor: 'htmlFor',
  69. httpequiv: 'httpEquiv',
  70. 'http-equiv': 'httpEquiv',
  71. icon: 'icon',
  72. id: 'id',
  73. innerhtml: 'innerHTML',
  74. inputmode: 'inputMode',
  75. integrity: 'integrity',
  76. is: 'is',
  77. itemid: 'itemID',
  78. itemprop: 'itemProp',
  79. itemref: 'itemRef',
  80. itemscope: 'itemScope',
  81. itemtype: 'itemType',
  82. keyparams: 'keyParams',
  83. keytype: 'keyType',
  84. kind: 'kind',
  85. label: 'label',
  86. lang: 'lang',
  87. list: 'list',
  88. loop: 'loop',
  89. low: 'low',
  90. manifest: 'manifest',
  91. marginwidth: 'marginWidth',
  92. marginheight: 'marginHeight',
  93. max: 'max',
  94. maxlength: 'maxLength',
  95. media: 'media',
  96. mediagroup: 'mediaGroup',
  97. method: 'method',
  98. min: 'min',
  99. minlength: 'minLength',
  100. multiple: 'multiple',
  101. muted: 'muted',
  102. name: 'name',
  103. nomodule: 'noModule',
  104. nonce: 'nonce',
  105. novalidate: 'noValidate',
  106. open: 'open',
  107. optimum: 'optimum',
  108. pattern: 'pattern',
  109. placeholder: 'placeholder',
  110. playsinline: 'playsInline',
  111. poster: 'poster',
  112. preload: 'preload',
  113. profile: 'profile',
  114. radiogroup: 'radioGroup',
  115. readonly: 'readOnly',
  116. referrerpolicy: 'referrerPolicy',
  117. rel: 'rel',
  118. required: 'required',
  119. reversed: 'reversed',
  120. role: 'role',
  121. rows: 'rows',
  122. rowspan: 'rowSpan',
  123. sandbox: 'sandbox',
  124. scope: 'scope',
  125. scoped: 'scoped',
  126. scrolling: 'scrolling',
  127. seamless: 'seamless',
  128. selected: 'selected',
  129. shape: 'shape',
  130. size: 'size',
  131. sizes: 'sizes',
  132. span: 'span',
  133. spellcheck: 'spellCheck',
  134. src: 'src',
  135. srcdoc: 'srcDoc',
  136. srclang: 'srcLang',
  137. srcset: 'srcSet',
  138. start: 'start',
  139. step: 'step',
  140. style: 'style',
  141. summary: 'summary',
  142. tabindex: 'tabIndex',
  143. target: 'target',
  144. title: 'title',
  145. type: 'type',
  146. usemap: 'useMap',
  147. value: 'value',
  148. width: 'width',
  149. wmode: 'wmode',
  150. wrap: 'wrap',
  151. // SVG
  152. about: 'about',
  153. accentheight: 'accentHeight',
  154. 'accent-height': 'accentHeight',
  155. accumulate: 'accumulate',
  156. additive: 'additive',
  157. alignmentbaseline: 'alignmentBaseline',
  158. 'alignment-baseline': 'alignmentBaseline',
  159. allowreorder: 'allowReorder',
  160. alphabetic: 'alphabetic',
  161. amplitude: 'amplitude',
  162. arabicform: 'arabicForm',
  163. 'arabic-form': 'arabicForm',
  164. ascent: 'ascent',
  165. attributename: 'attributeName',
  166. attributetype: 'attributeType',
  167. autoreverse: 'autoReverse',
  168. azimuth: 'azimuth',
  169. basefrequency: 'baseFrequency',
  170. baselineshift: 'baselineShift',
  171. 'baseline-shift': 'baselineShift',
  172. baseprofile: 'baseProfile',
  173. bbox: 'bbox',
  174. begin: 'begin',
  175. bias: 'bias',
  176. by: 'by',
  177. calcmode: 'calcMode',
  178. capheight: 'capHeight',
  179. 'cap-height': 'capHeight',
  180. clip: 'clip',
  181. clippath: 'clipPath',
  182. 'clip-path': 'clipPath',
  183. clippathunits: 'clipPathUnits',
  184. cliprule: 'clipRule',
  185. 'clip-rule': 'clipRule',
  186. color: 'color',
  187. colorinterpolation: 'colorInterpolation',
  188. 'color-interpolation': 'colorInterpolation',
  189. colorinterpolationfilters: 'colorInterpolationFilters',
  190. 'color-interpolation-filters': 'colorInterpolationFilters',
  191. colorprofile: 'colorProfile',
  192. 'color-profile': 'colorProfile',
  193. colorrendering: 'colorRendering',
  194. 'color-rendering': 'colorRendering',
  195. contentscripttype: 'contentScriptType',
  196. contentstyletype: 'contentStyleType',
  197. cursor: 'cursor',
  198. cx: 'cx',
  199. cy: 'cy',
  200. d: 'd',
  201. datatype: 'datatype',
  202. decelerate: 'decelerate',
  203. descent: 'descent',
  204. diffuseconstant: 'diffuseConstant',
  205. direction: 'direction',
  206. display: 'display',
  207. divisor: 'divisor',
  208. dominantbaseline: 'dominantBaseline',
  209. 'dominant-baseline': 'dominantBaseline',
  210. dur: 'dur',
  211. dx: 'dx',
  212. dy: 'dy',
  213. edgemode: 'edgeMode',
  214. elevation: 'elevation',
  215. enablebackground: 'enableBackground',
  216. 'enable-background': 'enableBackground',
  217. end: 'end',
  218. exponent: 'exponent',
  219. externalresourcesrequired: 'externalResourcesRequired',
  220. fill: 'fill',
  221. fillopacity: 'fillOpacity',
  222. 'fill-opacity': 'fillOpacity',
  223. fillrule: 'fillRule',
  224. 'fill-rule': 'fillRule',
  225. filter: 'filter',
  226. filterres: 'filterRes',
  227. filterunits: 'filterUnits',
  228. floodopacity: 'floodOpacity',
  229. 'flood-opacity': 'floodOpacity',
  230. floodcolor: 'floodColor',
  231. 'flood-color': 'floodColor',
  232. focusable: 'focusable',
  233. fontfamily: 'fontFamily',
  234. 'font-family': 'fontFamily',
  235. fontsize: 'fontSize',
  236. 'font-size': 'fontSize',
  237. fontsizeadjust: 'fontSizeAdjust',
  238. 'font-size-adjust': 'fontSizeAdjust',
  239. fontstretch: 'fontStretch',
  240. 'font-stretch': 'fontStretch',
  241. fontstyle: 'fontStyle',
  242. 'font-style': 'fontStyle',
  243. fontvariant: 'fontVariant',
  244. 'font-variant': 'fontVariant',
  245. fontweight: 'fontWeight',
  246. 'font-weight': 'fontWeight',
  247. format: 'format',
  248. from: 'from',
  249. fx: 'fx',
  250. fy: 'fy',
  251. g1: 'g1',
  252. g2: 'g2',
  253. glyphname: 'glyphName',
  254. 'glyph-name': 'glyphName',
  255. glyphorientationhorizontal: 'glyphOrientationHorizontal',
  256. 'glyph-orientation-horizontal': 'glyphOrientationHorizontal',
  257. glyphorientationvertical: 'glyphOrientationVertical',
  258. 'glyph-orientation-vertical': 'glyphOrientationVertical',
  259. glyphref: 'glyphRef',
  260. gradienttransform: 'gradientTransform',
  261. gradientunits: 'gradientUnits',
  262. hanging: 'hanging',
  263. horizadvx: 'horizAdvX',
  264. 'horiz-adv-x': 'horizAdvX',
  265. horizoriginx: 'horizOriginX',
  266. 'horiz-origin-x': 'horizOriginX',
  267. ideographic: 'ideographic',
  268. imagerendering: 'imageRendering',
  269. 'image-rendering': 'imageRendering',
  270. in2: 'in2',
  271. in: 'in',
  272. inlist: 'inlist',
  273. intercept: 'intercept',
  274. k1: 'k1',
  275. k2: 'k2',
  276. k3: 'k3',
  277. k4: 'k4',
  278. k: 'k',
  279. kernelmatrix: 'kernelMatrix',
  280. kernelunitlength: 'kernelUnitLength',
  281. kerning: 'kerning',
  282. keypoints: 'keyPoints',
  283. keysplines: 'keySplines',
  284. keytimes: 'keyTimes',
  285. lengthadjust: 'lengthAdjust',
  286. letterspacing: 'letterSpacing',
  287. 'letter-spacing': 'letterSpacing',
  288. lightingcolor: 'lightingColor',
  289. 'lighting-color': 'lightingColor',
  290. limitingconeangle: 'limitingConeAngle',
  291. local: 'local',
  292. markerend: 'markerEnd',
  293. 'marker-end': 'markerEnd',
  294. markerheight: 'markerHeight',
  295. markermid: 'markerMid',
  296. 'marker-mid': 'markerMid',
  297. markerstart: 'markerStart',
  298. 'marker-start': 'markerStart',
  299. markerunits: 'markerUnits',
  300. markerwidth: 'markerWidth',
  301. mask: 'mask',
  302. maskcontentunits: 'maskContentUnits',
  303. maskunits: 'maskUnits',
  304. mathematical: 'mathematical',
  305. mode: 'mode',
  306. numoctaves: 'numOctaves',
  307. offset: 'offset',
  308. opacity: 'opacity',
  309. operator: 'operator',
  310. order: 'order',
  311. orient: 'orient',
  312. orientation: 'orientation',
  313. origin: 'origin',
  314. overflow: 'overflow',
  315. overlineposition: 'overlinePosition',
  316. 'overline-position': 'overlinePosition',
  317. overlinethickness: 'overlineThickness',
  318. 'overline-thickness': 'overlineThickness',
  319. paintorder: 'paintOrder',
  320. 'paint-order': 'paintOrder',
  321. panose1: 'panose1',
  322. 'panose-1': 'panose1',
  323. pathlength: 'pathLength',
  324. patterncontentunits: 'patternContentUnits',
  325. patterntransform: 'patternTransform',
  326. patternunits: 'patternUnits',
  327. pointerevents: 'pointerEvents',
  328. 'pointer-events': 'pointerEvents',
  329. points: 'points',
  330. pointsatx: 'pointsAtX',
  331. pointsaty: 'pointsAtY',
  332. pointsatz: 'pointsAtZ',
  333. prefix: 'prefix',
  334. preservealpha: 'preserveAlpha',
  335. preserveaspectratio: 'preserveAspectRatio',
  336. primitiveunits: 'primitiveUnits',
  337. property: 'property',
  338. r: 'r',
  339. radius: 'radius',
  340. refx: 'refX',
  341. refy: 'refY',
  342. renderingintent: 'renderingIntent',
  343. 'rendering-intent': 'renderingIntent',
  344. repeatcount: 'repeatCount',
  345. repeatdur: 'repeatDur',
  346. requiredextensions: 'requiredExtensions',
  347. requiredfeatures: 'requiredFeatures',
  348. resource: 'resource',
  349. restart: 'restart',
  350. result: 'result',
  351. results: 'results',
  352. rotate: 'rotate',
  353. rx: 'rx',
  354. ry: 'ry',
  355. scale: 'scale',
  356. security: 'security',
  357. seed: 'seed',
  358. shaperendering: 'shapeRendering',
  359. 'shape-rendering': 'shapeRendering',
  360. slope: 'slope',
  361. spacing: 'spacing',
  362. specularconstant: 'specularConstant',
  363. specularexponent: 'specularExponent',
  364. speed: 'speed',
  365. spreadmethod: 'spreadMethod',
  366. startoffset: 'startOffset',
  367. stddeviation: 'stdDeviation',
  368. stemh: 'stemh',
  369. stemv: 'stemv',
  370. stitchtiles: 'stitchTiles',
  371. stopcolor: 'stopColor',
  372. 'stop-color': 'stopColor',
  373. stopopacity: 'stopOpacity',
  374. 'stop-opacity': 'stopOpacity',
  375. strikethroughposition: 'strikethroughPosition',
  376. 'strikethrough-position': 'strikethroughPosition',
  377. strikethroughthickness: 'strikethroughThickness',
  378. 'strikethrough-thickness': 'strikethroughThickness',
  379. string: 'string',
  380. stroke: 'stroke',
  381. strokedasharray: 'strokeDasharray',
  382. 'stroke-dasharray': 'strokeDasharray',
  383. strokedashoffset: 'strokeDashoffset',
  384. 'stroke-dashoffset': 'strokeDashoffset',
  385. strokelinecap: 'strokeLinecap',
  386. 'stroke-linecap': 'strokeLinecap',
  387. strokelinejoin: 'strokeLinejoin',
  388. 'stroke-linejoin': 'strokeLinejoin',
  389. strokemiterlimit: 'strokeMiterlimit',
  390. 'stroke-miterlimit': 'strokeMiterlimit',
  391. strokewidth: 'strokeWidth',
  392. 'stroke-width': 'strokeWidth',
  393. strokeopacity: 'strokeOpacity',
  394. 'stroke-opacity': 'strokeOpacity',
  395. suppresscontenteditablewarning: 'suppressContentEditableWarning',
  396. suppresshydrationwarning: 'suppressHydrationWarning',
  397. surfacescale: 'surfaceScale',
  398. systemlanguage: 'systemLanguage',
  399. tablevalues: 'tableValues',
  400. targetx: 'targetX',
  401. targety: 'targetY',
  402. textanchor: 'textAnchor',
  403. 'text-anchor': 'textAnchor',
  404. textdecoration: 'textDecoration',
  405. 'text-decoration': 'textDecoration',
  406. textlength: 'textLength',
  407. textrendering: 'textRendering',
  408. 'text-rendering': 'textRendering',
  409. to: 'to',
  410. transform: 'transform',
  411. typeof: 'typeof',
  412. u1: 'u1',
  413. u2: 'u2',
  414. underlineposition: 'underlinePosition',
  415. 'underline-position': 'underlinePosition',
  416. underlinethickness: 'underlineThickness',
  417. 'underline-thickness': 'underlineThickness',
  418. unicode: 'unicode',
  419. unicodebidi: 'unicodeBidi',
  420. 'unicode-bidi': 'unicodeBidi',
  421. unicoderange: 'unicodeRange',
  422. 'unicode-range': 'unicodeRange',
  423. unitsperem: 'unitsPerEm',
  424. 'units-per-em': 'unitsPerEm',
  425. unselectable: 'unselectable',
  426. valphabetic: 'vAlphabetic',
  427. 'v-alphabetic': 'vAlphabetic',
  428. values: 'values',
  429. vectoreffect: 'vectorEffect',
  430. 'vector-effect': 'vectorEffect',
  431. version: 'version',
  432. vertadvy: 'vertAdvY',
  433. 'vert-adv-y': 'vertAdvY',
  434. vertoriginx: 'vertOriginX',
  435. 'vert-origin-x': 'vertOriginX',
  436. vertoriginy: 'vertOriginY',
  437. 'vert-origin-y': 'vertOriginY',
  438. vhanging: 'vHanging',
  439. 'v-hanging': 'vHanging',
  440. videographic: 'vIdeographic',
  441. 'v-ideographic': 'vIdeographic',
  442. viewbox: 'viewBox',
  443. viewtarget: 'viewTarget',
  444. visibility: 'visibility',
  445. vmathematical: 'vMathematical',
  446. 'v-mathematical': 'vMathematical',
  447. vocab: 'vocab',
  448. widths: 'widths',
  449. wordspacing: 'wordSpacing',
  450. 'word-spacing': 'wordSpacing',
  451. writingmode: 'writingMode',
  452. 'writing-mode': 'writingMode',
  453. x1: 'x1',
  454. x2: 'x2',
  455. x: 'x',
  456. xchannelselector: 'xChannelSelector',
  457. xheight: 'xHeight',
  458. 'x-height': 'xHeight',
  459. xlinkactuate: 'xlinkActuate',
  460. 'xlink:actuate': 'xlinkActuate',
  461. xlinkarcrole: 'xlinkArcrole',
  462. 'xlink:arcrole': 'xlinkArcrole',
  463. xlinkhref: 'xlinkHref',
  464. 'xlink:href': 'xlinkHref',
  465. xlinkrole: 'xlinkRole',
  466. 'xlink:role': 'xlinkRole',
  467. xlinkshow: 'xlinkShow',
  468. 'xlink:show': 'xlinkShow',
  469. xlinktitle: 'xlinkTitle',
  470. 'xlink:title': 'xlinkTitle',
  471. xlinktype: 'xlinkType',
  472. 'xlink:type': 'xlinkType',
  473. xmlbase: 'xmlBase',
  474. 'xml:base': 'xmlBase',
  475. xmllang: 'xmlLang',
  476. 'xml:lang': 'xmlLang',
  477. xmlns: 'xmlns',
  478. 'xml:space': 'xmlSpace',
  479. xmlnsxlink: 'xmlnsXlink',
  480. 'xmlns:xlink': 'xmlnsXlink',
  481. xmlspace: 'xmlSpace',
  482. y1: 'y1',
  483. y2: 'y2',
  484. y: 'y',
  485. ychannelselector: 'yChannelSelector',
  486. z: 'z',
  487. zoomandpan: 'zoomAndPan'
  488. };
  489. exports.ATTRIBUTE_MAPPING = ATTRIBUTE_MAPPING;
  490. const ELEMENT_ATTRIBUTE_MAPPING = {
  491. input: {
  492. checked: 'defaultChecked',
  493. value: 'defaultValue',
  494. maxlength: 'maxLength'
  495. },
  496. form: {
  497. enctype: 'encType'
  498. }
  499. }; // Reference: https://developer.mozilla.org/en-US/docs/Web/SVG/Element#SVG_elements
  500. exports.ELEMENT_ATTRIBUTE_MAPPING = ELEMENT_ATTRIBUTE_MAPPING;
  501. const ELEMENT_TAG_NAME_MAPPING = {
  502. a: 'a',
  503. altglyph: 'altGlyph',
  504. altglyphdef: 'altGlyphDef',
  505. altglyphitem: 'altGlyphItem',
  506. animate: 'animate',
  507. animatecolor: 'animateColor',
  508. animatemotion: 'animateMotion',
  509. animatetransform: 'animateTransform',
  510. audio: 'audio',
  511. canvas: 'canvas',
  512. circle: 'circle',
  513. clippath: 'clipPath',
  514. 'color-profile': 'colorProfile',
  515. cursor: 'cursor',
  516. defs: 'defs',
  517. desc: 'desc',
  518. discard: 'discard',
  519. ellipse: 'ellipse',
  520. feblend: 'feBlend',
  521. fecolormatrix: 'feColorMatrix',
  522. fecomponenttransfer: 'feComponentTransfer',
  523. fecomposite: 'feComposite',
  524. feconvolvematrix: 'feConvolveMatrix',
  525. fediffuselighting: 'feDiffuseLighting',
  526. fedisplacementmap: 'feDisplacementMap',
  527. fedistantlight: 'feDistantLight',
  528. fedropshadow: 'feDropShadow',
  529. feflood: 'feFlood',
  530. fefunca: 'feFuncA',
  531. fefuncb: 'feFuncB',
  532. fefuncg: 'feFuncG',
  533. fefuncr: 'feFuncR',
  534. fegaussianblur: 'feGaussianBlur',
  535. feimage: 'feImage',
  536. femerge: 'feMerge',
  537. femergenode: 'feMergeNode',
  538. femorphology: 'feMorphology',
  539. feoffset: 'feOffset',
  540. fepointlight: 'fePointLight',
  541. fespecularlighting: 'feSpecularLighting',
  542. fespotlight: 'feSpotLight',
  543. fetile: 'feTile',
  544. feturbulence: 'feTurbulence',
  545. filter: 'filter',
  546. font: 'font',
  547. 'font-face': 'fontFace',
  548. 'font-face-format': 'fontFaceFormat',
  549. 'font-face-name': 'fontFaceName',
  550. 'font-face-src': 'fontFaceSrc',
  551. 'font-face-uri': 'fontFaceUri',
  552. foreignobject: 'foreignObject',
  553. g: 'g',
  554. glyph: 'glyph',
  555. glyphref: 'glyphRef',
  556. hatch: 'hatch',
  557. hatchpath: 'hatchpath',
  558. hkern: 'hkern',
  559. iframe: 'iframe',
  560. image: 'image',
  561. line: 'line',
  562. lineargradient: 'linearGradient',
  563. marker: 'marker',
  564. mask: 'mask',
  565. mesh: 'mesh',
  566. meshgradient: 'meshgradient',
  567. meshpatch: 'meshpatch',
  568. meshrow: 'meshrow',
  569. metadata: 'metadata',
  570. 'missing-glyph': 'missingGlyph',
  571. mpath: 'mpath',
  572. path: 'path',
  573. pattern: 'pattern',
  574. polygon: 'polygon',
  575. polyline: 'polyline',
  576. radialgradient: 'radialGradient',
  577. rect: 'rect',
  578. script: 'script',
  579. set: 'set',
  580. solidcolor: 'solidcolor',
  581. stop: 'stop',
  582. style: 'style',
  583. svg: 'svg',
  584. switch: 'switch',
  585. symbol: 'symbol',
  586. text: 'text',
  587. textpath: 'textPath',
  588. title: 'title',
  589. tref: 'tref',
  590. tspan: 'tspan',
  591. unknown: 'unknown',
  592. use: 'use',
  593. video: 'video',
  594. view: 'view',
  595. vkern: 'vkern'
  596. };
  597. exports.ELEMENT_TAG_NAME_MAPPING = ELEMENT_TAG_NAME_MAPPING;