OLD | NEW |
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, ReflectOnly=("checkbox","radio"), ReflectInvalid="com
mand", ReflectMissing="command"] attribute DOMString type; | 10 [Measure, CEReactions, Reflect, ReflectOnly=("checkbox","radio"), ReflectInval
id="command", ReflectMissing="command"] attribute DOMString type; |
11 [CEReactions, Reflect] attribute DOMString label; | 11 [Measure, CEReactions, Reflect] attribute DOMString label; |
12 [CEReactions, Reflect, URL] attribute DOMString icon; | 12 [Measure, CEReactions, Reflect] attribute DOMString icon; |
13 [CEReactions, Reflect] attribute boolean disabled; | 13 [Measure, CEReactions, Reflect] attribute boolean disabled; |
14 [CEReactions, Reflect] attribute boolean checked; | 14 [Measure, CEReactions, Reflect] attribute boolean checked; |
15 [CEReactions, Reflect] attribute DOMString radiogroup; | 15 [Measure, CEReactions, Reflect] attribute DOMString radiogroup; |
16 [CEReactions, Reflect] attribute boolean default; | 16 [Measure, CEReactions, Reflect] attribute boolean default; |
17 // FIXME: readonly attribute HTMLElement? command; | 17 // FIXME: readonly attribute HTMLElement? command; |
18 }; | 18 }; |
OLD | NEW |