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

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

Issue 2905763003: Rollback ContextMenu (Closed)
Patch Set: Delete RuntimeEnabledFeatures::contextMenuEnabled Created 3 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-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: {
(...skipping 23 matching lines...) Expand all
34 dateTime: "string", 34 dateTime: "string",
35 }, 35 },
36 36
37 // "Interactive elements" section 37 // "Interactive elements" section
38 details: { 38 details: {
39 open: "boolean", 39 open: "boolean",
40 }, 40 },
41 summary: {}, 41 summary: {},
42 menu: { 42 menu: {
43 // Conforming 43 // Conforming
44 //TODO: check that missing value default is context if parent's type is cont ext 44 type: {type: "enum", keywords:["toolbar"], defaultVal: "toolbar"},
tkent 2017/05/26 04:48:53 Please do not update test code in external/wpt/ in
yuzuchan 2017/05/30 07:15:20 My bad! I rolled back all the changes I made to wp
45 type: {type: "enum", keywords:["context", "toolbar"], defaultVal: "toolbar"} ,
46 label: "string",
47 45
48 // Obsolete 46 // Obsolete
49 compact: "boolean", 47 compact: "boolean",
50 }, 48 },
51 menuitem: {
52 type: {type: "enum", keywords: ["command", "checkbox", "radio"], defaultVal: "command"},
53 label: "string",
54 icon: "url",
55 disabled: "boolean",
56 checked: "boolean",
57 radiogroup: "string",
58 "default": "boolean",
59 },
60 dialog: { 49 dialog: {
61 open: "boolean", 50 open: "boolean",
62 }, 51 },
63 52
64 // Global attributes should exist even on unknown elements 53 // Global attributes should exist even on unknown elements
65 undefinedelement: {}, 54 undefinedelement: {},
66 }; 55 };
67 56
68 mergeElements(miscElements); 57 mergeElements(miscElements);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698