| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://html.spec.whatwg.org/#the-menuitem-element | |
| 6 | |
| 7 [ | |
| 8 RuntimeEnabled=ContextMenu, | |
| 9 ] interface HTMLMenuItemElement : HTMLElement { | |
| 10 [CEReactions, Reflect, ReflectOnly=("checkbox","radio"), ReflectInvalid="com
mand", ReflectMissing="command"] attribute DOMString type; | |
| 11 [CEReactions] attribute DOMString label; | |
| 12 [CEReactions, Reflect, URL] attribute DOMString icon; | |
| 13 [CEReactions, Reflect] attribute boolean disabled; | |
| 14 [CEReactions, Reflect] attribute boolean checked; | |
| 15 [CEReactions, Reflect] attribute DOMString radiogroup; | |
| 16 [CEReactions, Reflect] attribute boolean default; | |
| 17 // FIXME: readonly attribute HTMLElement? command; | |
| 18 }; | |
| OLD | NEW |