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

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

Issue 2590903002: Import wpt@009111410a1099e85d4027a679985975757ceb4d (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 3 years, 12 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-06. 1 // Up-to-date as of 2013-04-06.
2 var embeddedElements = { 2 var embeddedElements = {
3 img: { 3 img: {
4 // Conforming 4 // Conforming
5 alt: "string", 5 alt: "string",
6 src: "url", 6 src: "url",
7 srcset: "string", 7 srcset: "string",
8 crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonC anon:{"": "anonymous"}, isNullable: true, defaultVal: null, invalidVal: "anonymo us"}, 8 crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonC anon:{"": "anonymous"}, isNullable: true, defaultVal: null, invalidVal: "anonymo us"},
9 useMap: "string", 9 useMap: "string",
10 isMap: "boolean", 10 isMap: "boolean",
11 width: {type: "unsigned long", customGetter: true}, 11 width: {type: "unsigned long", customGetter: true},
12 height: {type: "unsigned long", customGetter: true}, 12 height: {type: "unsigned long", customGetter: true},
13 referrerPolicy: {type: "enum", keywords: ["", "no-referrer", "no-referrer-wh en-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-orig in", "strict-origin-when-cross-origin", "unsafe-url"]},
13 14
14 // Obsolete 15 // Obsolete
15 name: "string", 16 name: "string",
16 lowsrc: {type: "url"}, 17 lowsrc: {type: "url"},
17 align: "string", 18 align: "string",
18 hspace: "unsigned long", 19 hspace: "unsigned long",
19 vspace: "unsigned long", 20 vspace: "unsigned long",
20 longDesc: "url", 21 longDesc: "url",
21 border: {type: "string", treatNullAsEmptyString: true}, 22 border: {type: "string", treatNullAsEmptyString: true},
22 }, 23 },
23 iframe: { 24 iframe: {
24 // Conforming 25 // Conforming
25 src: "url", 26 src: "url",
26 srcdoc: "string", 27 srcdoc: "string",
27 name: "string", 28 name: "string",
28 sandbox: "settable tokenlist", 29 sandbox: "settable tokenlist",
29 allowFullscreen: "boolean", 30 allowFullscreen: "boolean",
31 allowUserMedia: "boolean",
32 allowPaymentRequest: "boolean",
30 width: "string", 33 width: "string",
31 height: "string", 34 height: "string",
35 referrerPolicy: {type: "enum", keywords: ["", "no-referrer", "no-referrer-wh en-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-orig in", "strict-origin-when-cross-origin", "unsafe-url"]},
32 36
33 // Obsolete 37 // Obsolete
34 align: "string", 38 align: "string",
35 scrolling: "string", 39 scrolling: "string",
36 frameBorder: "string", 40 frameBorder: "string",
37 longDesc: "url", 41 longDesc: "url",
38 marginHeight: {type: "string", treatNullAsEmptyString: true}, 42 marginHeight: {type: "string", treatNullAsEmptyString: true},
39 marginWidth: {type: "string", treatNullAsEmptyString: true} 43 marginWidth: {type: "string", treatNullAsEmptyString: true}
40 }, 44 },
41 embed: { 45 embed: {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 area: { 134 area: {
131 // Conforming 135 // Conforming
132 alt: "string", 136 alt: "string",
133 coords: "string", 137 coords: "string",
134 shape: "string", 138 shape: "string",
135 target: "string", 139 target: "string",
136 download: "string", 140 download: "string",
137 ping: "string", 141 ping: "string",
138 rel: "string", 142 rel: "string",
139 relList: {type: "tokenlist", domAttrName: "rel"}, 143 relList: {type: "tokenlist", domAttrName: "rel"},
144 referrerPolicy: {type: "enum", keywords: ["", "no-referrer", "no-referrer-wh en-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-orig in", "strict-origin-when-cross-origin", "unsafe-url"]},
140 145
141 // HTMLHyperlinkElementUtils 146 // HTMLHyperlinkElementUtils
142 href: "url", 147 href: "url",
143 148
144 // Obsolete 149 // Obsolete
145 noHref: "boolean" 150 noHref: "boolean"
146 }, 151 },
147 }; 152 };
148 153
149 mergeElements(embeddedElements); 154 mergeElements(embeddedElements);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698