mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
Add basic HTMLDialogElement interface
This commit is contained in:
13
components/script/dom/webidls/HTMLDialogElement.webidl
Normal file
13
components/script/dom/webidls/HTMLDialogElement.webidl
Normal file
@@ -0,0 +1,13 @@
|
||||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* 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 http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// http://www.whatwg.org/html/#htmldialogelement
|
||||
interface HTMLDialogElement : HTMLElement {
|
||||
//attribute boolean open;
|
||||
//attribute DOMString returnValue;
|
||||
//void show(optional (MouseEvent or Element) anchor);
|
||||
//void showModal(optional (MouseEvent or Element) anchor);
|
||||
//void close(optional DOMString returnValue);
|
||||
};
|
||||
Reference in New Issue
Block a user