Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/dom/elements-forms.js

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 autofocus: "boolean", 72 autofocus: "boolean",
73 disabled: "boolean", 73 disabled: "boolean",
74 // TODO: formAction is special 74 // TODO: formAction is special
75 // formAction: "url", 75 // formAction: "url",
76 formEnctype: {type: "enum", keywords: ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"], invalidVal: "application/x-www-form-urlenc oded"}, 76 formEnctype: {type: "enum", keywords: ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"], invalidVal: "application/x-www-form-urlenc oded"},
77 formMethod: {type: "enum", keywords: ["get", "post", "dialog"], invalidVal: "get"}, 77 formMethod: {type: "enum", keywords: ["get", "post", "dialog"], invalidVal: "get"},
78 formNoValidate: "boolean", 78 formNoValidate: "boolean",
79 formTarget: "string", 79 formTarget: "string",
80 name: "string", 80 name: "string",
81 type: {type: "enum", keywords: ["submit", "reset", "button"], defaultVal: "s ubmit"}, 81 type: {type: "enum", keywords: ["submit", "reset", "button"], defaultVal: "s ubmit"},
82 value: "string", 82 value: "string"
83 // TODO: menu
84 }, 83 },
85 select: { 84 select: {
86 autofocus: "boolean", 85 autofocus: "boolean",
87 disabled: "boolean", 86 disabled: "boolean",
88 multiple: "boolean", 87 multiple: "boolean",
89 name: "string", 88 name: "string",
90 required: "boolean", 89 required: "boolean",
91 size: {type: "unsigned long", defaultVal: 0}, 90 size: {type: "unsigned long", defaultVal: 0},
92 }, 91 },
93 datalist: {}, 92 datalist: {},
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 htmlFor: {type: "settable tokenlist", domAttrName: "for" }, 133 htmlFor: {type: "settable tokenlist", domAttrName: "for" },
135 name: "string", 134 name: "string",
136 }, 135 },
137 progress: { 136 progress: {
138 max: {type: "limited double", defaultVal: 1.0}, 137 max: {type: "limited double", defaultVal: 1.0},
139 }, 138 },
140 meter: {}, 139 meter: {},
141 }; 140 };
142 141
143 mergeElements(formElements); 142 mergeElements(formElements);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698