LibWeb: Implement the Document.activeElement attribute

We were already tracking the active element in DOM::Document, so all we
had to do here was add the attribute to Document.idl :^)
This commit is contained in:
Andreas Kling 2021-09-27 16:51:10 +02:00
parent 7410736b0f
commit 975a71de45

View file

@ -18,6 +18,8 @@ interface Document : Node {
readonly attribute USVString referrer;
readonly attribute Element? activeElement;
Element? getElementById(DOMString id);
HTMLCollection getElementsByName(DOMString name);
HTMLCollection getElementsByTagName(DOMString tagName);