Skip to content

Commit 050fe73

Browse files
author
mrmrs
committed
Adds SVG elements and attributes
1 parent 3ee4e50 commit 050fe73

File tree

3 files changed

+406
-23
lines changed

3 files changed

+406
-23
lines changed

packages/gui/src/components/html/data.ts

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@ export const HTML_TAGS = [
22
'a',
33
'abbr',
44
'address',
5+
'animate',
6+
'animateMotion',
7+
'animateTransform',
8+
'area',
59
'article',
610
'aside',
711
'audio',
812
'b',
13+
'base',
914
'bdi',
1015
'bdo',
1116
'blockquote',
1217
'br',
1318
'button',
19+
'canvas',
1420
'caption',
21+
'clipPath',
22+
'circle',
1523
'cite',
1624
'code',
1725
'col',
@@ -20,16 +28,35 @@ export const HTML_TAGS = [
2028
'datalist',
2129
'dd',
2230
'del',
31+
'desc',
2332
'details',
2433
'dfn',
2534
'dialog',
2635
'div',
2736
'dl',
2837
'dt',
2938
'em',
39+
'feBlend',
40+
'feColorMatrix',
41+
'feComponentTransfer',
42+
'feComposite',
43+
'feConvolveMatrix',
44+
'feDiffuseLighting',
45+
'feDisplacementMap',
46+
'feDropShadow',
47+
'feFlood',
48+
'feGaussianBlur',
49+
'feImage',
50+
'feMerge',
51+
'feMorphology',
52+
'feOffset',
53+
'feSpecularLighting',
54+
'feTile',
55+
'feTurbulence',
3056
'fieldset',
3157
'figcaption',
3258
'figure',
59+
'filter',
3360
'footer',
3461
'form',
3562
'h1',
@@ -48,8 +75,10 @@ export const HTML_TAGS = [
4875
'label',
4976
'legend',
5077
'li',
78+
'line',
5179
'main',
5280
'mark',
81+
'marker',
5382
'menu',
5483
'menuitem',
5584
'meter',
@@ -60,29 +89,36 @@ export const HTML_TAGS = [
6089
'option',
6190
'output',
6291
'p',
92+
'path',
6393
'picture',
94+
'polyline',
6495
'pre',
6596
'progress',
6697
'q',
98+
'rect',
6799
'rp',
68100
'rt',
69101
'rtc',
70102
'ruby',
71103
's',
72104
'samp',
73-
'span',
74105
'section',
75106
'select',
76-
'source',
107+
'set',
77108
'slot',
78109
'small',
110+
'source',
111+
'span',
112+
'stop',
79113
'sub',
80114
'summary',
81115
'sup',
116+
'svg',
82117
'table',
83118
'tbody',
84119
'td',
85120
'template',
121+
'text',
86122
'textarea',
87123
'tfoot',
88124
'th',
@@ -95,11 +131,4 @@ export const HTML_TAGS = [
95131
'var',
96132
'video',
97133
'wbr',
98-
'svg',
99-
'circle',
100-
'line',
101-
'path',
102-
'rect',
103-
'text',
104-
'polyline',
105134
]

0 commit comments

Comments
 (0)