summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-06-13 08:23:21 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-06-13 08:23:21 -0400
commit5e7917e2c8bd50754535652014c1de0054841912 (patch)
treeead6813f00c5ff538adad2b2aa8406732ffeb2b4 /dom/webidl
parent43725c7264ca3f63de348d1d1596ce1fe9e64d2d (diff)
downloaduxp-5e7917e2c8bd50754535652014c1de0054841912.tar.gz
Bug 1429656 - Implement ShadowRoot.activeElement
Tag #1375
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/ShadowRoot.webidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/ShadowRoot.webidl b/dom/webidl/ShadowRoot.webidl
index 47e6cf5ec5..81b50e58bd 100644
--- a/dom/webidl/ShadowRoot.webidl
+++ b/dom/webidl/ShadowRoot.webidl
@@ -20,6 +20,8 @@ enum ShadowRootMode {
[Func="nsDocument::IsWebComponentsEnabled"]
interface ShadowRoot : DocumentFragment
{
+ readonly attribute Element? activeElement;
+
// Shadow DOM v1
readonly attribute ShadowRootMode mode;
readonly attribute Element host;