summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/html_popup_element.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/html_popup_element.idl')
-rw-r--r--chromium/third_party/blink/renderer/core/html/html_popup_element.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/html_popup_element.idl b/chromium/third_party/blink/renderer/core/html/html_popup_element.idl
new file mode 100644
index 00000000000..06d07b8a955
--- /dev/null
+++ b/chromium/third_party/blink/renderer/core/html/html_popup_element.idl
@@ -0,0 +1,11 @@
+// Copyright 2021 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://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/Popup/explainer.md
+[Exposed=Window,HTMLConstructor,RuntimeEnabled=HTMLPopupElement]
+interface HTMLPopupElement : HTMLElement {
+ [CEReactions] readonly attribute boolean open;
+ [CEReactions, Measure] void show();
+ [CEReactions, Measure] void hide();
+};