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/#htmlmenuitemelement |
| 6 |
5 [ | 7 [ |
6 RuntimeEnabled=ContextMenu, | 8 RuntimeEnabled=ContextMenu, |
7 ] interface HTMLMenuItemElement : HTMLElement { | 9 ] interface HTMLMenuItemElement : HTMLElement { |
8 [Reflect] attribute DOMString type; | 10 [Reflect] attribute DOMString type; |
9 [Reflect] attribute DOMString label; | 11 [Reflect] attribute DOMString label; |
10 [Reflect] attribute DOMString icon; | 12 [Reflect] attribute DOMString icon; |
11 [Reflect] attribute boolean disabled; | 13 [Reflect] attribute boolean disabled; |
12 [Reflect] attribute boolean checked; | 14 [Reflect] attribute boolean checked; |
| 15 [Reflect] attribute DOMString radiogroup; |
13 [Reflect] attribute boolean default; | 16 [Reflect] attribute boolean default; |
14 [Reflect] attribute DOMString radiogroup; | 17 // FIXME: readonly attribute HTMLElement? command; |
15 // FIXME: icon and command need to be implemented. | |
16 }; | 18 }; |
OLD | NEW |