1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 09:17:45 +00:00

LibWeb: Implement basic support for Document.all

The finer details are missing here, but the basic API is up.
This commit is contained in:
Andreas Kling 2022-09-18 02:17:11 +02:00
parent 3df9861814
commit e6ef366859
3 changed files with 17 additions and 0 deletions

View file

@ -69,6 +69,9 @@ interface Document : Node {
readonly attribute HTMLCollection forms;
readonly attribute HTMLCollection scripts;
// FIXME: Should return an HTMLAllCollection
readonly attribute HTMLCollection all;
Element createElement(DOMString tagName);
Element createElementNS(DOMString? namespace, DOMString qualifiedName);
DocumentFragment createDocumentFragment();