OLD | NEW |
1 // Up-to-date as of 2013-04-07. | 1 // Up-to-date as of 2013-04-07. |
2 var formElements = { | 2 var formElements = { |
3 form: { | 3 form: { |
4 acceptCharset: {type: "string", domAttrName: "accept-charset"}, | 4 acceptCharset: {type: "string", domAttrName: "accept-charset"}, |
5 // TODO: action is special | 5 // TODO: action is special |
6 // action: "url", | 6 // action: "url", |
7 autocomplete: {type: "enum", keywords: ["on", "off"], defaultVal: "on"}, | 7 autocomplete: {type: "enum", keywords: ["on", "off"], defaultVal: "on"}, |
8 enctype: {type: "enum", keywords: ["application/x-www-form-urlencoded", "mul
tipart/form-data", "text/plain"], defaultVal: "application/x-www-form-urlencoded
"}, | 8 enctype: {type: "enum", keywords: ["application/x-www-form-urlencoded", "mul
tipart/form-data", "text/plain"], defaultVal: "application/x-www-form-urlencoded
"}, |
9 encoding: {type: "enum", keywords: ["application/x-www-form-urlencoded", "mu
ltipart/form-data", "text/plain"], defaultVal: "application/x-www-form-urlencode
d", domAttrName: "enctype"}, | 9 encoding: {type: "enum", keywords: ["application/x-www-form-urlencoded", "mu
ltipart/form-data", "text/plain"], defaultVal: "application/x-www-form-urlencode
d", domAttrName: "enctype"}, |
10 method: {type: "enum", keywords: ["get", "post", "dialog"], defaultVal: "get
"}, | 10 method: {type: "enum", keywords: ["get", "post", "dialog"], defaultVal: "get
"}, |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 htmlFor: {type: "settable tokenlist", domAttrName: "for" }, | 134 htmlFor: {type: "settable tokenlist", domAttrName: "for" }, |
135 name: "string", | 135 name: "string", |
136 }, | 136 }, |
137 progress: { | 137 progress: { |
138 max: {type: "limited double", defaultVal: 1.0}, | 138 max: {type: "limited double", defaultVal: 1.0}, |
139 }, | 139 }, |
140 meter: {}, | 140 meter: {}, |
141 }; | 141 }; |
142 | 142 |
143 mergeElements(formElements); | 143 mergeElements(formElements); |
OLD | NEW |