| OLD | NEW |
| (Empty) |
| 1 // Up-to-date as of 2013-04-13. | |
| 2 var obsoleteElements = { | |
| 3 // https://html.spec.whatwg.org/multipage/#the-applet-element | |
| 4 applet: { | |
| 5 align: "string", | |
| 6 alt: "string", | |
| 7 archive: "string", | |
| 8 code: "string", | |
| 9 codeBase: "url", | |
| 10 height: "string", | |
| 11 hspace: "unsigned long", | |
| 12 name: "string", | |
| 13 object: "url", | |
| 14 vspace: "unsigned long", | |
| 15 width: "string", | |
| 16 }, | |
| 17 // https://html.spec.whatwg.org/multipage/#the-marquee-element-2 | |
| 18 marquee: { | |
| 19 behavior: "string", | |
| 20 bgColor: "string", | |
| 21 direction: "string", | |
| 22 height: "string", | |
| 23 hspace: "unsigned long", | |
| 24 scrollAmount: {type: "unsigned long", defaultVal: 6}, | |
| 25 scrollDelay: {type: "unsigned long", defaultVal: 85}, | |
| 26 trueSpeed: "boolean", | |
| 27 vspace: "unsigned long", | |
| 28 width: "string", | |
| 29 }, | |
| 30 // https://html.spec.whatwg.org/multipage/#frameset | |
| 31 frameset: { | |
| 32 cols: "string", | |
| 33 rows: "string", | |
| 34 }, | |
| 35 // https://html.spec.whatwg.org/multipage/#frame | |
| 36 frame: { | |
| 37 name: "string", | |
| 38 scrolling: "string", | |
| 39 src: "url", | |
| 40 frameBorder: "string", | |
| 41 longDesc: "url", | |
| 42 noResize: "boolean", | |
| 43 marginHeight: {type: "string", treatNullAsEmptyString: true}, | |
| 44 marginWidth: {type: "string", treatNullAsEmptyString: true}, | |
| 45 }, | |
| 46 // https://html.spec.whatwg.org/multipage/#htmldirectoryelement | |
| 47 dir: { | |
| 48 compact: "boolean", | |
| 49 }, | |
| 50 // https://html.spec.whatwg.org/multipage/#htmlfontelement | |
| 51 font: { | |
| 52 color: {type: "string", treatNullAsEmptyString: true}, | |
| 53 face: "string", | |
| 54 size: "string", | |
| 55 }, | |
| 56 }; | |
| 57 | |
| 58 mergeElements(obsoleteElements); | |
| OLD | NEW |