mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Implement HTMLMenuElement
This commit is contained in:
parent
2b77a992db
commit
c1a23a85b2
12 changed files with 80 additions and 254 deletions
17
components/script/dom/webidls/HTMLMenuElement.webidl
Normal file
17
components/script/dom/webidls/HTMLMenuElement.webidl
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlmenuelement
|
||||
[Exposed=Window]
|
||||
interface HTMLMenuElement : HTMLElement {
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#HTMLMenuElement-partial
|
||||
partial interface HTMLMenuElement {
|
||||
[CEReactions]
|
||||
attribute boolean compact;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue