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

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

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
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);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698