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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMenuItemElement.idl

Issue 2372593005: Restrict type attribute on menuitem (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://html.spec.whatwg.org/#the-menuitem-element 5 // https://html.spec.whatwg.org/#the-menuitem-element
6 6
7 [ 7 [
8 RuntimeEnabled=ContextMenu, 8 RuntimeEnabled=ContextMenu,
9 ] interface HTMLMenuItemElement : HTMLElement { 9 ] interface HTMLMenuItemElement : HTMLElement {
10 [CEReactions, Reflect] attribute DOMString type; 10 [CEReactions] attribute DOMString type;
tkent 2016/11/14 03:47:09 Do a combination of ReflectInvalid, ReflectMissing
rwlbuis 2016/11/14 15:22:26 Thanks, I did not know this option existed! I now
11 [CEReactions, Reflect] attribute DOMString label; 11 [CEReactions, Reflect] attribute DOMString label;
12 [CEReactions, Reflect, URL] attribute DOMString icon; 12 [CEReactions, Reflect, URL] attribute DOMString icon;
13 [CEReactions, Reflect] attribute boolean disabled; 13 [CEReactions, Reflect] attribute boolean disabled;
14 [CEReactions, Reflect] attribute boolean checked; 14 [CEReactions, Reflect] attribute boolean checked;
15 [CEReactions, Reflect] attribute DOMString radiogroup; 15 [CEReactions, Reflect] attribute DOMString radiogroup;
16 [CEReactions, Reflect] attribute boolean default; 16 [CEReactions, Reflect] attribute boolean default;
17 // FIXME: readonly attribute HTMLElement? command; 17 // FIXME: readonly attribute HTMLElement? command;
18 }; 18 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698