summaryrefslogtreecommitdiff
path: root/dom/webidl/DocumentOrShadowRoot.webidl
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-03-03 19:52:43 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2023-03-04 21:32:09 +0800
commit60d420fe715cbdd8e2db5bad0a390312383ca0a3 (patch)
tree71d77be8a91e7fbf2d58c2f0cca491785e4139a5 /dom/webidl/DocumentOrShadowRoot.webidl
parent9e2c43705b62ecd6d1e6271d6072859c73957b34 (diff)
downloaduxp-60d420fe715cbdd8e2db5bad0a390312383ca0a3.tar.gz
Issue #2135 - Bug 1430305: Implement ShadowRoot.fullscreenElement
Diffstat (limited to 'dom/webidl/DocumentOrShadowRoot.webidl')
-rw-r--r--dom/webidl/DocumentOrShadowRoot.webidl6
1 files changed, 4 insertions, 2 deletions
diff --git a/dom/webidl/DocumentOrShadowRoot.webidl b/dom/webidl/DocumentOrShadowRoot.webidl
index 267f16f23b..eb4a4b666d 100644
--- a/dom/webidl/DocumentOrShadowRoot.webidl
+++ b/dom/webidl/DocumentOrShadowRoot.webidl
@@ -23,6 +23,8 @@ interface DocumentOrShadowRoot {
readonly attribute StyleSheetList styleSheets;
readonly attribute Element? pointerLockElement;
- // Not implemented yet: bug 1430305.
- // readonly attribute Element? fullscreenElement;
+ [LenientSetter, Func="nsDocument::IsUnprefixedFullscreenEnabled"]
+ readonly attribute Element? fullscreenElement;
+ [BinaryName="fullscreenElement"]
+ readonly attribute Element? mozFullScreenElement;
};