1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibWeb: Add Document.{images,embeds,plugins,links,forms,scripts}

This commit is contained in:
Luke 2021-05-04 23:13:28 +01:00 committed by Linus Groh
parent 19731fc14c
commit 7f6baf8b17
3 changed files with 75 additions and 0 deletions

View file

@ -142,6 +142,12 @@ public:
NonnullRefPtr<HTMLCollection> applets();
NonnullRefPtr<HTMLCollection> anchors();
NonnullRefPtr<HTMLCollection> images();
NonnullRefPtr<HTMLCollection> embeds();
NonnullRefPtr<HTMLCollection> plugins();
NonnullRefPtr<HTMLCollection> links();
NonnullRefPtr<HTMLCollection> forms();
NonnullRefPtr<HTMLCollection> scripts();
const String& source() const { return m_source; }
void set_source(const String& source) { m_source = source; }