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
commit 7f6baf8b17
Notes: sideshowbarker 2024-07-18 18:42:07 +09:00
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; }