mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +00:00
LibWeb: Implement document.anchors
This returns an HTMLCollection of all <a> elements in the document that have a "name" attribute.
This commit is contained in:
parent
43d16fa5b6
commit
b74bf31a53
3 changed files with 12 additions and 0 deletions
|
@ -19,6 +19,7 @@ interface Document : Node {
|
|||
HTMLCollection getElementsByClassName(DOMString className);
|
||||
|
||||
readonly attribute HTMLCollection applets;
|
||||
readonly attribute HTMLCollection anchors;
|
||||
|
||||
Element createElement(DOMString tagName);
|
||||
Element createElementNS(DOMString? namespace, DOMString qualifiedName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue