mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 12:57:36 +00:00
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:
parent
7410736b0f
commit
975a71de45
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ interface Document : Node {
|
||||||
|
|
||||||
readonly attribute USVString referrer;
|
readonly attribute USVString referrer;
|
||||||
|
|
||||||
|
readonly attribute Element? activeElement;
|
||||||
|
|
||||||
Element? getElementById(DOMString id);
|
Element? getElementById(DOMString id);
|
||||||
HTMLCollection getElementsByName(DOMString name);
|
HTMLCollection getElementsByName(DOMString name);
|
||||||
HTMLCollection getElementsByTagName(DOMString tagName);
|
HTMLCollection getElementsByTagName(DOMString tagName);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue