diff options
Diffstat (limited to 'components/script/dom/webidls/HTMLDialogElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLDialogElement.webidl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components/script/dom/webidls/HTMLDialogElement.webidl b/components/script/dom/webidls/HTMLDialogElement.webidl index dbac248cc17..9ba089e7bf1 100644 --- a/components/script/dom/webidls/HTMLDialogElement.webidl +++ b/components/script/dom/webidls/HTMLDialogElement.webidl @@ -5,9 +5,13 @@ // https://html.spec.whatwg.org/multipage/#htmldialogelement [HTMLConstructor] interface HTMLDialogElement : HTMLElement { + [CEReactions] attribute boolean open; attribute DOMString returnValue; - //void show(optional (MouseEvent or Element) anchor); - //void showModal(optional (MouseEvent or Element) anchor); + // [CEReactions] + // void show(); + // [CEReactions] + // void showModal(); + [CEReactions] void close(optional DOMString returnValue); }; |