blob: c26a87e6a9cb1fea960c5d98f3e9b4afc087c147 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://html.spec.whatwg.org/#the-menuitem-element
[
RuntimeEnabled=ContextMenu,
] interface HTMLMenuItemElement : HTMLElement {
[CEReactions, Reflect, ReflectOnly=("checkbox","radio"), ReflectInvalid="command", ReflectMissing="command"] attribute DOMString type;
[CEReactions] attribute DOMString label;
[CEReactions, Reflect, URL] attribute DOMString icon;
[CEReactions, Reflect] attribute boolean disabled;
[CEReactions, Reflect] attribute boolean checked;
[CEReactions, Reflect] attribute DOMString radiogroup;
[CEReactions, Reflect] attribute boolean default;
// FIXME: readonly attribute HTMLElement? command;
};