mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05: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 Element? activeElement;
|
||||
|
||||
Element? getElementById(DOMString id);
|
||||
HTMLCollection getElementsByName(DOMString name);
|
||||
HTMLCollection getElementsByTagName(DOMString tagName);
|
||||
|
|
Loading…
Add table
Reference in a new issue