Code dump
[remote-dom-vm] / rust-client / src / dictionaries.rs
1 //! Dictionaries used in the byte code. Each dictionary must have no more than 255 entries.
2
3 /// All known HTML tag names.
4 ///
5 /// Taken from https://html.spec.whatwg.org/#elements-3, minus <mathml> and <svg>.
6 pub static CREATE_ELEMENT: [&str; 112] = [
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 "menu",
70 "meta",
71 "meter",
72 "nav",
73 "noscript",
74 "object",
75 "ol",
76 "optgroup",
77 "option",
78 "output",
79 "p",
80 "param",
81 "picture",
82 "pre",
83 "progress",
84 "q",
85 "rp",
86 "rt",
87 "ruby",
88 "s",
89 "samp",
90 "script",
91 "section",
92 "select",
93 "slot",
94 "small",
95 "source",
96 "span",
97 "strong",
98 "style",
99 "sub",
100 "summary",
101 "sup",
102 "table",
103 "tbody",
104 "td",
105 "template",
106 "textarea",
107 "tfoot",
108 "th",
109 "thead",
110 "time",
111 "title",
112 "tr",
113 "track",
114 "u",
115 "ul",
116 "var",
117 "video",
118 "wbr",
119 ];
120
121 /// All known SVG tag names.
122 ///
123 /// Taken from https://svgwg.org/svg2-draft/eltindex.html.
124 pub static CREATE_SVG_ELEMENT: [&str; 64] = [
125 "a",
126 "animate",
127 "animateMotion",
128 "animateTransform",
129 "circle",
130 "clipPath",
131 "defs",
132 "desc",
133 "discard",
134 "ellipse",
135 "feBlend",
136 "feColorMatrix",
137 "feComponentTransfer",
138 "feComposite",
139 "feConvolveMatrix",
140 "feDiffuseLighting",
141 "feDisplacementMap",
142 "feDistantLight",
143 "feDropShadow",
144 "feFlood",
145 "feFuncA",
146 "feFuncB",
147 "feFuncG",
148 "feFuncR",
149 "feGaussianBlur",
150 "feImage",
151 "feMerge",
152 "feMergeNode",
153 "feMorphology",
154 "feOffset",
155 "fePointLight",
156 "feSpecularLighting",
157 "feSpotLight",
158 "feTile",
159 "feTurbulence",
160 "filter",
161 "foreignObject",
162 "g",
163 "image",
164 "line",
165 "linearGradient",
166 "marker",
167 "mask",
168 "metadata",
169 "mpath",
170 "path",
171 "pattern",
172 "polygon",
173 "polyline",
174 "radialGradient",
175 "rect",
176 "script",
177 "set",
178 "stop",
179 "style",
180 "svg",
181 "switch",
182 "symbol",
183 "text",
184 "textPath",
185 "title",
186 "tspan",
187 "use",
188 "view",
189 ];
190
191 /*
192 /// All known HTML attribute names.
193 ///
194 /// Taken from https://html.spec.whatwg.org/#attributes-3, *excluding* the event handler content
195 /// attributes.
196 ///
197 /// Also added all the ARIA attributes (using the list from the SVG spec, TODO source better).
198 pub static HTML_ATTRIBUTE_NAMES: [&str; 172] = [
199 "abbr",
200 "accept",
201 "accept-charset",
202 "accesskey",
203 "action",
204 "allow",
205 "allowfullscreen",
206 "allowpaymentrequest",
207 "alt",
208 "aria-activedescendant",
209 "aria-atomic",
210 "aria-autocomplete",
211 "aria-busy",
212 "aria-checked",
213 "aria-colcount",
214 "aria-colindex",
215 "aria-colspan",
216 "aria-controls",
217 "aria-current",
218 "aria-describedby",
219 "aria-details",
220 "aria-disabled",
221 "aria-dropeffect",
222 "aria-errormessage",
223 "aria-expanded",
224 "aria-flowto",
225 "aria-grabbed",
226 "aria-haspopup",
227 "aria-hidden",
228 "aria-invalid",
229 "aria-keyshortcuts",
230 "aria-label",
231 "aria-labelledby",
232 "aria-level",
233 "aria-live",
234 "aria-modal",
235 "aria-multiline",
236 "aria-multiselectable",
237 "aria-orientation",
238 "aria-owns",
239 "aria-placeholder",
240 "aria-posinset",
241 "aria-pressed",
242 "aria-readonly",
243 "aria-relevant",
244 "aria-required",
245 "aria-roledescription",
246 "aria-rowcount",
247 "aria-rowindex",
248 "aria-rowspan",
249 "aria-selected",
250 "aria-setsize",
251 "aria-sort",
252 "aria-valuemax",
253 "aria-valuemin",
254 "aria-valuenow",
255 "aria-valuetext",
256 "as",
257 "async",
258 "autocapitalize",
259 "autocomplete",
260 "autofocus",
261 "autoplay",
262 "charset",
263 "checked",
264 "cite",
265 "class",
266 "color",
267 "cols",
268 "colspan",
269 "content",
270 "contenteditable",
271 "controls",
272 "coords",
273 "crossorigin",
274 "data",
275 "datetime",
276 "decoding",
277 "default",
278 "defer",
279 "dir",
280 "dirname",
281 "disabled",
282 "download",
283 "draggable",
284 "enctype",
285 "enterkeyhint",
286 "for",
287 "form",
288 "formaction",
289 "formenctype",
290 "formmethod",
291 "formnovalidate",
292 "formtarget",
293 "headers",
294 "height",
295 "hidden",
296 "high",
297 "href",
298 "hreflang",
299 "http-equiv",
300 "id",
301 "imagesizes",
302 "imagesrcset",
303 "inputmode",
304 "integrity",
305 "is",
306 "ismap",
307 "itemid",
308 "itemprop",
309 "itemref",
310 "itemscope",
311 "itemtype",
312 "kind",
313 "label",
314 "lang",
315 "list",
316 "loop",
317 "low",
318 "manifest",
319 "max",
320 "maxlength",
321 "media",
322 "method",
323 "min",
324 "minlength",
325 "multiple",
326 "muted",
327 "name",
328 "nomodule",
329 "nonce",
330 "novalidate",
331 "open",
332 "optimum",
333 "pattern",
334 "ping",
335 "placeholder",
336 "playsinline",
337 "poster",
338 "preload",
339 "readonly",
340 "referrerpolicy",
341 "rel",
342 "required",
343 "reversed",
344 "rows",
345 "rowspan",
346 "sandbox",
347 "scope",
348 "selected",
349 "shape",
350 "size",
351 "sizes",
352 "slot",
353 "span",
354 "spellcheck",
355 "src",
356 "srcdoc",
357 "srclang",
358 "srcset",
359 "start",
360 "step",
361 "style",
362 "tabindex",
363 "target",
364 "title",
365 "translate",
366 "type",
367 "usemap",
368 "value",
369 "width",
370 "wrap",
371 ];
372
373 /// All known SVG attribute names.
374 ///
375 /// Taken from https://svgwg.org/svg2-draft/attindex.html#RegularAttributes, *excluding* the “on*”
376 /// event handler attributes. Presentation attributes are also excluded, not being in that section.
377 pub static SVG_ATTRIBUTE_NAMES: [&str; 184] = [
378 "accumulate",
379 "additive",
380 "amplitude",
381 "aria-activedescendant",
382 "aria-atomic",
383 "aria-autocomplete",
384 "aria-busy",
385 "aria-checked",
386 "aria-colcount",
387 "aria-colindex",
388 "aria-colspan",
389 "aria-controls",
390 "aria-current",
391 "aria-describedby",
392 "aria-details",
393 "aria-disabled",
394 "aria-dropeffect",
395 "aria-errormessage",
396 "aria-expanded",
397 "aria-flowto",
398 "aria-grabbed",
399 "aria-haspopup",
400 "aria-hidden",
401 "aria-invalid",
402 "aria-keyshortcuts",
403 "aria-label",
404 "aria-labelledby",
405 "aria-level",
406 "aria-live",
407 "aria-modal",
408 "aria-multiline",
409 "aria-multiselectable",
410 "aria-orientation",
411 "aria-owns",
412 "aria-placeholder",
413 "aria-posinset",
414 "aria-pressed",
415 "aria-readonly",
416 "aria-relevant",
417 "aria-required",
418 "aria-roledescription",
419 "aria-rowcount",
420 "aria-rowindex",
421 "aria-rowspan",
422 "aria-selected",
423 "aria-setsize",
424 "aria-sort",
425 "aria-valuemax",
426 "aria-valuemin",
427 "aria-valuenow",
428 "aria-valuetext",
429 "attributeName",
430 "azimuth",
431 "baseFrequency",
432 "begin",
433 "bias",
434 "by",
435 "calcMode",
436 "class",
437 "clipPathUnits",
438 "crossorigin",
439 "cx",
440 "cy",
441 "diffuseConstant",
442 "divisor",
443 "download",
444 "dur",
445 "dx",
446 "dy",
447 "edgeMode",
448 "elevation",
449 "end",
450 "exponent",
451 "fill",
452 "filterUnits",
453 "fr",
454 "from",
455 "fx",
456 "fy",
457 "gradientTransform",
458 "gradientUnits",
459 "height",
460 "href",
461 "hreflang",
462 "id",
463 "in",
464 "in2",
465 "intercept",
466 "k1",
467 "k2",
468 "k3",
469 "k4",
470 "kernelMatrix",
471 "kernelUnitLength",
472 "keyPoints",
473 "keySplines",
474 "keyTimes",
475 "lang",
476 "lengthAdjust",
477 "limitingConeAngle",
478 "markerHeight",
479 "markerUnits",
480 "markerWidth",
481 "maskContentUnits",
482 "maskUnits",
483 "max",
484 "media",
485 "method",
486 "min",
487 "mode",
488 "numOctaves",
489 "offset",
490 "operator",
491 "order",
492 "orient",
493 "origin",
494 "path",
495 "pathLength",
496 "patternContentUnits",
497 "patternTransform",
498 "patternUnits",
499 "ping",
500 "playbackorder",
501 "points",
502 "pointsAtX",
503 "pointsAtY",
504 "pointsAtZ",
505 "preserveAlpha",
506 "preserveAspectRatio",
507 "primitiveUnits",
508 "r",
509 "radius",
510 "refX",
511 "refY",
512 "referrerpolicy",
513 "rel",
514 "repeatCount",
515 "repeatDur",
516 "requiredExtensions",
517 "restart",
518 "result",
519 "role",
520 "rotate",
521 "scale",
522 "seed",
523 "side",
524 "slope",
525 "spacing",
526 "specularConstant",
527 "specularExponent",
528 "spreadMethod",
529 "startOffset",
530 "stdDeviation",
531 "stitchTiles",
532 "style",
533 "surfaceScale",
534 "systemLanguage",
535 "tabindex",
536 "tableValues",
537 "target",
538 "targetX",
539 "targetY",
540 "textLength",
541 "timelinebegin",
542 "title",
543 "to",
544 "transform",
545 "type",
546 "values",
547 "viewBox",
548 "width",
549 "x",
550 "x1",
551 "x2",
552 "xChannelSelector",
553 "xlink:href",
554 "xlink:title",
555 "xml:space",
556 "y",
557 "y1",
558 "y2",
559 "yChannelSelector",
560 "z",
561 "zoomAndPan",
562 ];
563
564 /// A unified dictionary of HTML and SVG attributes. A work in progress, because there are too many
565 /// in total, so I want to remove some obsolete or extremely uncommon ones.
566 pub static ATTRIBUTE_NAMES: [&str; 287] = [ // XXX: 287 is too long, cull some I suppose.
567 "abbr",
568 "accept",
569 "accept-charset",
570 "accesskey",
571 "accumulate",
572 "action",
573 "additive",
574 "allow",
575 "allowfullscreen",
576 "allowpaymentrequest",
577 "alt",
578 "amplitude",
579 "aria-activedescendant",
580 "aria-atomic",
581 "aria-autocomplete",
582 "aria-busy",
583 "aria-checked",
584 "aria-colcount",
585 "aria-colindex",
586 "aria-colspan",
587 "aria-controls",
588 "aria-current",
589 "aria-describedby",
590 "aria-details",
591 "aria-disabled",
592 "aria-dropeffect",
593 "aria-errormessage",
594 "aria-expanded",
595 "aria-flowto",
596 "aria-grabbed",
597 "aria-haspopup",
598 "aria-hidden",
599 "aria-invalid",
600 "aria-keyshortcuts",
601 "aria-label",
602 "aria-labelledby",
603 "aria-level",
604 "aria-live",
605 "aria-modal",
606 "aria-multiline",
607 "aria-multiselectable",
608 "aria-orientation",
609 "aria-owns",
610 "aria-placeholder",
611 "aria-posinset",
612 "aria-pressed",
613 "aria-readonly",
614 "aria-relevant",
615 "aria-required",
616 "aria-roledescription",
617 "aria-rowcount",
618 "aria-rowindex",
619 "aria-rowspan",
620 "aria-selected",
621 "aria-setsize",
622 "aria-sort",
623 "aria-valuemax",
624 "aria-valuemin",
625 "aria-valuenow",
626 "aria-valuetext",
627 "as",
628 "async",
629 "attributeName",
630 "autocapitalize",
631 "autocomplete",
632 "autofocus",
633 "autoplay",
634 "azimuth",
635 "baseFrequency",
636 "begin",
637 "bias",
638 "by",
639 "calcMode",
640 "charset",
641 "checked",
642 "cite",
643 "class",
644 "clipPathUnits",
645 "color",
646 "cols",
647 "colspan",
648 "content",
649 "contenteditable",
650 "controls",
651 "coords",
652 "crossorigin",
653 "cx",
654 "cy",
655 "data",
656 "datetime",
657 "decoding",
658 "default",
659 "defer",
660 "diffuseConstant",
661 "dir",
662 "dirname",
663 "disabled",
664 "divisor",
665 "download",
666 "draggable",
667 "dur",
668 "dx",
669 "dy",
670 "edgeMode",
671 "elevation",
672 "enctype",
673 "end",
674 "enterkeyhint",
675 "exponent",
676 "fill",
677 "filterUnits",
678 "for",
679 "form",
680 "formaction",
681 "formenctype",
682 "formmethod",
683 "formnovalidate",
684 "formtarget",
685 "fr",
686 "from",
687 "fx",
688 "fy",
689 "gradientTransform",
690 "gradientUnits",
691 "headers",
692 "height",
693 "hidden",
694 "high",
695 "href",
696 "hreflang",
697 "http-equiv",
698 "id",
699 "imagesizes",
700 "imagesrcset",
701 "in",
702 "in2",
703 "inputmode",
704 "integrity",
705 "intercept",
706 "is",
707 "ismap",
708 "itemid",
709 "itemprop",
710 "itemref",
711 "itemscope",
712 "itemtype",
713 "k1",
714 "k2",
715 "k3",
716 "k4",
717 "kernelMatrix",
718 "kernelUnitLength",
719 "keyPoints",
720 "keySplines",
721 "keyTimes",
722 "kind",
723 "label",
724 "lang",
725 "lengthAdjust",
726 "limitingConeAngle",
727 "list",
728 "loop",
729 "low",
730 "manifest",
731 "markerHeight",
732 "markerUnits",
733 "markerWidth",
734 "maskContentUnits",
735 "maskUnits",
736 "max",
737 "maxlength",
738 "media",
739 "method",
740 "min",
741 "minlength",
742 "mode",
743 "multiple",
744 "muted",
745 "name",
746 "nomodule",
747 "nonce",
748 "novalidate",
749 "numOctaves",
750 "offset",
751 "open",
752 "operator",
753 "optimum",
754 "order",
755 "orient",
756 "origin",
757 "path",
758 "pathLength",
759 "pattern",
760 "patternContentUnits",
761 "patternTransform",
762 "patternUnits",
763 "ping",
764 "placeholder",
765 "playbackorder",
766 "playsinline",
767 "points",
768 "pointsAtX",
769 "pointsAtY",
770 "pointsAtZ",
771 "poster",
772 "preload",
773 "preserveAlpha",
774 "preserveAspectRatio",
775 "primitiveUnits",
776 "r",
777 "radius",
778 "readonly",
779 "refX",
780 "refY",
781 "referrerpolicy",
782 "rel",
783 "repeatCount",
784 "repeatDur",
785 "required",
786 "requiredExtensions",
787 "restart",
788 "result",
789 "reversed",
790 "role",
791 "rotate",
792 "rows",
793 "rowspan",
794 "sandbox",
795 "scale",
796 "scope",
797 "seed",
798 "selected",
799 "shape",
800 "side",
801 "size",
802 "sizes",
803 "slope",
804 "slot",
805 "spacing",
806 "span",
807 "specularConstant",
808 "specularExponent",
809 "spellcheck",
810 "spreadMethod",
811 "src",
812 "srcdoc",
813 "srclang",
814 "srcset",
815 "start",
816 "startOffset",
817 "stdDeviation",
818 "step",
819 "stitchTiles",
820 "style",
821 "surfaceScale",
822 "systemLanguage",
823 "tabindex",
824 "tableValues",
825 "target",
826 "targetX",
827 "targetY",
828 "textLength",
829 "timelinebegin",
830 "title",
831 "to",
832 "transform",
833 "translate",
834 "type",
835 "usemap",
836 "value",
837 "values",
838 "viewBox",
839 "width",
840 "wrap",
841 "x",
842 "x1",
843 "x2",
844 "xChannelSelector",
845 "xlink:href",
846 "xlink:title",
847 "xml:space",
848 "y",
849 "y1",
850 "y2",
851 "yChannelSelector",
852 "z",
853 "zoomAndPan",
854 ];
855
856 /// All known SVG event names.
857 ///
858 /// Taken from https://svgwg.org/svg2-draft/attindex.html, all the “on…” attribute names.
859 /// TODO better source.
860 pub static SVG_EVENT_NAMES: [&str; 77] = [
861 "abort",
862 "afterprint",
863 "beforeprint",
864 "begin",
865 "cancel",
866 "canplay",
867 "canplaythrough",
868 "change",
869 "click",
870 "close",
871 "copy",
872 "cuechange",
873 "cut",
874 "dblclick",
875 "drag",
876 "dragend",
877 "dragenter",
878 "dragexit",
879 "dragleave",
880 "dragover",
881 "dragstart",
882 "drop",
883 "durationchange",
884 "emptied",
885 "end",
886 "ended",
887 "error",
888 "focus",
889 "focusin",
890 "focusout",
891 "hashchange",
892 "input",
893 "invalid",
894 "keydown",
895 "keypress",
896 "keyup",
897 "load",
898 "loadeddata",
899 "loadedmetadata",
900 "loadstart",
901 "message",
902 "mousedown",
903 "mouseenter",
904 "mouseleave",
905 "mousemove",
906 "mouseout",
907 "mouseover",
908 "mouseup",
909 "offline",
910 "online",
911 "pagehide",
912 "pageshow",
913 "paste",
914 "pause",
915 "play",
916 "playing",
917 "popstate",
918 "progress",
919 "ratechange",
920 "repeat",
921 "reset",
922 "resize",
923 "scroll",
924 "seeked",
925 "seeking",
926 "select",
927 "show",
928 "stalled",
929 "storage",
930 "submit",
931 "suspend",
932 "timeupdate",
933 "toggle",
934 "unload",
935 "volumechange",
936 "waiting",
937 "wheel",
938 ];
939
940 // TODO: make a dictionary of known attribute values (e.g. "", "true", "false", "stylesheet", "icon")
941
942 /// All known HTML event names.
943 ///
944 /// Taken from https://html.spec.whatwg.org/#events-2, https://html.spec.whatwg.org/#mediaevents,
945 /// https://html.spec.whatwg.org/#appcacheevents and https://html.spec.whatwg.org/#dndevents.
946 /// TODO what about other things like upgrade?
947 pub static HTML_EVENT_NAMES: [&str; 77] = [
948 "DOMContentLoaded",
949 "abort",
950 "afterprint",
951 "beforeprint",
952 "beforeunload",
953 "blur",
954 "cached",
955 "cancel",
956 "canplay",
957 "canplaythrough",
958 "change",
959 "checking",
960 "click",
961 "close",
962 "connect",
963 "contextmenu",
964 "copy",
965 "cut",
966 "downloading",
967 "drag",
968 "dragend",
969 "dragenter",
970 "dragexit",
971 "dragleave",
972 "dragover",
973 "dragstart",
974 "drop",
975 "durationchange",
976 "emptied",
977 "ended",
978 "error",
979 "focus",
980 "formdata",
981 "hashchange",
982 "input",
983 "invalid",
984 "languagechange",
985 "load",
986 "loadeddata",
987 "loadedmetadata",
988 "loadend",
989 "loadstart",
990 "message",
991 "messageerror",
992 "noupdate",
993 "obsolete",
994 "offline",
995 "online",
996 "open",
997 "pagehide",
998 "pageshow",
999 "paste",
1000 "pause",
1001 "play",
1002 "playing",
1003 "popstate",
1004 "progress",
1005 "ratechange",
1006 "readystatechange",
1007 "rejectionhandled",
1008 "reset",
1009 "resize",
1010 "securitypolicyviolation",
1011 "seeked",
1012 "seeking",
1013 "select",
1014 "stalled",
1015 "storage",
1016 "submit",
1017 "suspend",
1018 "timeupdate",
1019 "toggle",
1020 "unhandledrejection",
1021 "unload ",
1022 "updateready",
1023 "volumechange ",
1024 "waiting",
1025 ];
1026
1027 pub static ATTRIBUTE_VALUES: [&str; 120] = [
1028 // Various
1029 "",
1030 "on",
1031 "off",
1032 "none",
1033 "auto",
1034
1035 // autocapitalize
1036 "sentences",
1037 "words",
1038 "characters",
1039 "true",
1040 "false",
1041
1042 // <meta charset>
1043 "utf-8",
1044
1045 // <link rel>
1046 "preload",
1047 "modulepreload",
1048
1049 // <link as>
1050 "fetch",
1051 "audio",
1052 "audioworklet",
1053 "document",
1054 "embed",
1055 "font",
1056 "image",
1057 "manifest",
1058 "object",
1059 "paintworklet",
1060 "report",
1061 "script",
1062 "serviceworker",
1063 "sharedworker",
1064 "style",
1065 "track",
1066 "video",
1067 "worker",
1068 "xslt",
1069
1070 // crossorigin
1071 "anonymous",
1072 "use-credentials",
1073
1074 // <img decoding>
1075 "sync",
1076 "async",
1077
1078 // dir
1079 "rtl",
1080 "ltr",
1081
1082 // <form enctype>, formenctype
1083 "application/x-www-form-urlencoded",
1084 "multipart/form-data",
1085 "text/plain" ,
1086
1087 // enterkeyhint
1088 "enter",
1089 "done",
1090 "go",
1091 "next",
1092 "previous",
1093 "search",
1094 "send",
1095
1096 // formmethod
1097 "get",
1098 "post",
1099 "dialog",
1100
1101 // http-equiv
1102 "content-type",
1103 "default-style",
1104 "refresh",
1105 "x-ua-compatible",
1106 "content-security-policy",
1107
1108 // inputmode
1109 "text",
1110 "tel",
1111 "email",
1112 "url",
1113 "numeric",
1114 "decimal",
1115 "search",
1116
1117 // <track kind>
1118 "subtitles",
1119 "captions",
1120 "descriptions",
1121 "chapters",
1122 "metadata",
1123
1124 // preload
1125 "metadata",
1126
1127 // referrerpolicy
1128 "no-referrer",
1129 "no-referrer-when-downgrade",
1130 "same-origin",
1131 "origin",
1132 "strict-origin",
1133 "origin-when-cross-origin",
1134 "strict-origin-when-cross-origin",
1135 "unsafe-url",
1136
1137 // rel: TODO
1138
1139 // scope
1140 "row",
1141 "col",
1142 "rowgroup",
1143 "colgroup",
1144
1145 // <area shape>
1146 "circle",
1147 "default",
1148 "poly",
1149 "rect",
1150
1151 // step
1152 "any",
1153
1154 // translate
1155 "yes",
1156 "no",
1157
1158 // <button type>
1159 "submit",
1160 "reset",
1161 "button",
1162
1163 // <input type>
1164 "hidden",
1165 "text",
1166 "search",
1167 "tel",
1168 "url",
1169 "email",
1170 "password",
1171 "date",
1172 "month",
1173 "week",
1174 "time",
1175 "datetime-local",
1176 "number",
1177 "range",
1178 "color",
1179 "checkbox",
1180 "radio",
1181 "file",
1182 "image",
1183 // Also <button type>
1184 "submit",
1185 "reset",
1186 "button",
1187
1188 // <ol type>
1189 "1",
1190 "a",
1191 "A",
1192 "i",
1193 "I",
1194
1195 // <textarea wrap>
1196 "soft",
1197 "hard",
1198 ];
1199 */