css_dataset/
tags.rs

1//! Lists of known HTML tags, MathML tags and SVG tags.
2//!
3//! Though tags aren't directly related to CSS, but may be useful.
4
5/// Standard HTML tags.
6pub static STANDARD_HTML_TAGS: [&str; 118] = [
7    "a",
8    "abbr",
9    "address",
10    "area",
11    "article",
12    "aside",
13    "audio",
14    "b",
15    "base",
16    "bdi",
17    "bdo",
18    "blockquote",
19    "body",
20    "br",
21    "button",
22    "canvas",
23    "caption",
24    "cite",
25    "code",
26    "col",
27    "colgroup",
28    "data",
29    "datalist",
30    "dd",
31    "del",
32    "details",
33    "dfn",
34    "dialog",
35    "div",
36    "dl",
37    "dt",
38    "em",
39    "embed",
40    "fieldset",
41    "figcaption",
42    "figure",
43    "footer",
44    "form",
45    "h1",
46    "h2",
47    "h3",
48    "h4",
49    "h5",
50    "h6",
51    "head",
52    "header",
53    "hgroup",
54    "hr",
55    "html",
56    "i",
57    "iframe",
58    "img",
59    "input",
60    "ins",
61    "kbd",
62    "label",
63    "legend",
64    "li",
65    "link",
66    "main",
67    "map",
68    "mark",
69    "math",
70    "menu",
71    "menuitem",
72    "meta",
73    "meter",
74    "nav",
75    "noscript",
76    "object",
77    "ol",
78    "optgroup",
79    "option",
80    "output",
81    "p",
82    "param",
83    "picture",
84    "pre",
85    "progress",
86    "q",
87    "rb",
88    "rp",
89    "rt",
90    "rtc",
91    "ruby",
92    "s",
93    "samp",
94    "script",
95    "search",
96    "section",
97    "select",
98    "slot",
99    "small",
100    "source",
101    "span",
102    "strong",
103    "style",
104    "sub",
105    "summary",
106    "sup",
107    "svg",
108    "table",
109    "tbody",
110    "td",
111    "template",
112    "textarea",
113    "tfoot",
114    "th",
115    "thead",
116    "time",
117    "title",
118    "tr",
119    "track",
120    "u",
121    "ul",
122    "var",
123    "video",
124    "wbr",
125];
126
127/// Non-standard HTML tags.
128pub static NON_STANDARD_HTML_TAGS: [&str; 23] = [
129    "acronym",
130    "applet",
131    "basefont",
132    "big",
133    "blink",
134    "center",
135    "content",
136    "dir",
137    "font",
138    "frame",
139    "frameset",
140    "hgroup",
141    "isindex",
142    "keygen",
143    "listing",
144    "marquee",
145    "nobr",
146    "noembed",
147    "plaintext",
148    "spacer",
149    "strike",
150    "tt",
151    "xmp",
152];
153
154/// Known SVG tags.
155///
156/// Exported from <https://github.com/element-io/svg-tags>.
157pub static SVG_TAGS: [&str; 80] = [
158    "a",
159    "altGlyph",
160    "altGlyphDef",
161    "altGlyphItem",
162    "animate",
163    "animateColor",
164    "animateMotion",
165    "animateTransform",
166    "circle",
167    "clipPath",
168    "color-profile",
169    "cursor",
170    "defs",
171    "desc",
172    "ellipse",
173    "feBlend",
174    "feColorMatrix",
175    "feComponentTransfer",
176    "feComposite",
177    "feConvolveMatrix",
178    "feDiffuseLighting",
179    "feDisplacementMap",
180    "feDistantLight",
181    "feFlood",
182    "feFuncA",
183    "feFuncB",
184    "feFuncG",
185    "feFuncR",
186    "feGaussianBlur",
187    "feImage",
188    "feMerge",
189    "feMergeNode",
190    "feMorphology",
191    "feOffset",
192    "fePointLight",
193    "feSpecularLighting",
194    "feSpotLight",
195    "feTile",
196    "feTurbulence",
197    "filter",
198    "font",
199    "font-face",
200    "font-face-format",
201    "font-face-name",
202    "font-face-src",
203    "font-face-uri",
204    "foreignObject",
205    "g",
206    "glyph",
207    "glyphRef",
208    "hkern",
209    "image",
210    "line",
211    "linearGradient",
212    "marker",
213    "mask",
214    "metadata",
215    "missing-glyph",
216    "mpath",
217    "path",
218    "pattern",
219    "polygon",
220    "polyline",
221    "radialGradient",
222    "rect",
223    "script",
224    "set",
225    "stop",
226    "style",
227    "svg",
228    "switch",
229    "symbol",
230    "text",
231    "textPath",
232    "title",
233    "tref",
234    "tspan",
235    "use",
236    "view",
237    "vkern",
238];
239
240/// Known MathML tags.
241///
242/// Copied from <https://github.com/wooorm/mathml-tag-names>.
243pub static MATH_ML_TAGS: [&str; 189] = [
244    "abs",
245    "and",
246    "annotation",
247    "annotation-xml",
248    "apply",
249    "approx",
250    "arccos",
251    "arccosh",
252    "arccot",
253    "arccoth",
254    "arccsc",
255    "arccsch",
256    "arcsec",
257    "arcsech",
258    "arcsin",
259    "arcsinh",
260    "arctan",
261    "arctanh",
262    "arg",
263    "bvar",
264    "card",
265    "cartesianproduct",
266    "ceiling",
267    "ci",
268    "cn",
269    "codomain",
270    "complexes",
271    "compose",
272    "condition",
273    "conjugate",
274    "cos",
275    "cosh",
276    "cot",
277    "coth",
278    "csc",
279    "csch",
280    "csymbol",
281    "curl",
282    "declare",
283    "degree",
284    "determinant",
285    "diff",
286    "divergence",
287    "divide",
288    "domain",
289    "domainofapplication",
290    "emptyset",
291    "encoding",
292    "eq",
293    "equivalent",
294    "eulergamma",
295    "exists",
296    "exp",
297    "exponentiale",
298    "factorial",
299    "factorof",
300    "false",
301    "floor",
302    "fn",
303    "forall",
304    "function",
305    "gcd",
306    "geq",
307    "grad",
308    "gt",
309    "ident",
310    "image",
311    "imaginary",
312    "imaginaryi",
313    "implies",
314    "in",
315    "infinity",
316    "int",
317    "integers",
318    "intersect",
319    "interval",
320    "inverse",
321    "lambda",
322    "laplacian",
323    "lcm",
324    "leq",
325    "limit",
326    "list",
327    "ln",
328    "log",
329    "logbase",
330    "lowlimit",
331    "lt",
332    "maction",
333    "malign",
334    "maligngroup",
335    "malignmark",
336    "malignscope",
337    "math",
338    "matrix",
339    "matrixrow",
340    "max",
341    "mean",
342    "median",
343    "menclose",
344    "merror",
345    "mfenced",
346    "mfrac",
347    "mfraction",
348    "mglyph",
349    "mi",
350    "min",
351    "minus",
352    "mlabeledtr",
353    "mmultiscripts",
354    "mn",
355    "mo",
356    "mode",
357    "moment",
358    "momentabout",
359    "mover",
360    "mpadded",
361    "mphantom",
362    "mprescripts",
363    "mroot",
364    "mrow",
365    "ms",
366    "mspace",
367    "msqrt",
368    "mstyle",
369    "msub",
370    "msubsup",
371    "msup",
372    "mtable",
373    "mtd",
374    "mtext",
375    "mtr",
376    "munder",
377    "munderover",
378    "naturalnumbers",
379    "neq",
380    "none",
381    "not",
382    "notanumber",
383    "notin",
384    "notprsubset",
385    "notsubset",
386    "or",
387    "otherwise",
388    "outerproduct",
389    "partialdiff",
390    "pi",
391    "piece",
392    "piecewice",
393    "piecewise",
394    "plus",
395    "power",
396    "primes",
397    "product",
398    "prsubset",
399    "quotient",
400    "rationals",
401    "real",
402    "reals",
403    "reln",
404    "rem",
405    "root",
406    "scalarproduct",
407    "sdev",
408    "sec",
409    "sech",
410    "select",
411    "selector",
412    "semantics",
413    "sep",
414    "set",
415    "setdiff",
416    "sin",
417    "sinh",
418    "subset",
419    "sum",
420    "tan",
421    "tanh",
422    "tendsto",
423    "times",
424    "transpose",
425    "true",
426    "union",
427    "uplimit",
428    "var",
429    "variance",
430    "vector",
431    "vectorproduct",
432    "xor",
433];