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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements-misc.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-09. 1 // Up-to-date as of 2013-04-09.
2 var miscElements = { 2 var miscElements = {
3 // "The root element" section 3 // "The root element" section
4 html: { 4 html: {
5 // Obsolete 5 // Obsolete
6 version: "string", 6 version: "string",
7 }, 7 },
8 8
9 // "Scripting" section 9 // "Scripting" section
10 script: { 10 script: {
11 src: "url", 11 src: "url",
12 type: "string", 12 type: "string",
13 charset: "string", 13 charset: "string",
14 // TODO: async attribute (complicated). 14 // TODO: async attribute (complicated).
15 defer: "boolean", 15 defer: "boolean",
16 crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonC anon:{"": "anonymous"}, isNullable: true, defaultVal: null, invalidVal: "anonymo us"}, 16 crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonC anon:{"": "anonymous"}, isNullable: true, defaultVal: null, invalidVal: "anonymo us"},
17 nonce: "string",
18 integrity: "string",
17 }, 19 },
18 noscript: {}, 20 noscript: {},
19 21
20 // "Edits" section 22 // "Edits" section
21 ins: { 23 ins: {
22 cite: "url", 24 cite: "url",
23 dateTime: "string", 25 dateTime: "string",
24 }, 26 },
25 del: { 27 del: {
26 cite: "url", 28 cite: "url",
(...skipping 25 matching lines...) Expand all
52 }, 54 },
53 dialog: { 55 dialog: {
54 open: "boolean", 56 open: "boolean",
55 }, 57 },
56 58
57 // Global attributes should exist even on unknown elements 59 // Global attributes should exist even on unknown elements
58 undefinedelement: {}, 60 undefinedelement: {},
59 }; 61 };
60 62
61 mergeElements(miscElements); 63 mergeElements(miscElements);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698