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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements-misc.js

Issue 1991613002: Move the html directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
(Empty)
1 // Up-to-date as of 2013-04-09.
2 var miscElements = {
3 // "The root element" section
4 html: {
5 // Obsolete
6 version: "string",
7 },
8
9 // "Scripting" section
10 script: {
11 src: "url",
12 type: "string",
13 charset: "string",
14 // TODO: async attribute (complicated).
15 defer: "boolean",
16 crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonC anon:{"": "anonymous"}, isNullable: true, defaultVal: null, invalidVal: "anonymo us"},
17 },
18 noscript: {},
19
20 // "Edits" section
21 ins: {
22 cite: "url",
23 dateTime: "string",
24 },
25 del: {
26 cite: "url",
27 dateTime: "string",
28 },
29
30 // "Interactive elements" section
31 details: {
32 open: "boolean",
33 },
34 summary: {},
35 menu: {
36 // Conforming
37 //TODO: check that missing value default is popup if parent's type is popup
38 type: {type: "enum", keywords:["popup", "toolbar"], defaultVal: "toolbar"},
39 label: "string",
40
41 // Obsolete
42 compact: "boolean",
43 },
44 menuitem: {
45 type: {type: "enum", keywords: ["command", "checkbox", "radio"], defaultVal: "command"},
46 label: "string",
47 icon: "url",
48 disabled: "boolean",
49 checked: "boolean",
50 radiogroup: "string",
51 "default": "boolean",
52 },
53 dialog: {
54 open: "boolean",
55 },
56
57 // Global attributes should exist even on unknown elements
58 undefinedelement: {},
59 };
60
61 mergeElements(miscElements);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698