mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-06 03:02:55 +00:00
LibWeb: Add map element areas property
This commit is contained in:
parent
3e507102ea
commit
7fa45c5fdf
Notes:
sideshowbarker
2024-07-17 05:01:20 +09:00
Author: https://github.com/bplaat
Commit: 7fa45c5fdf
Pull-request: https://github.com/SerenityOS/serenity/pull/23902
5 changed files with 63 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/DOM/HTMLCollection.h>
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
@ -17,10 +18,15 @@ class HTMLMapElement final : public HTMLElement {
|
|||
public:
|
||||
virtual ~HTMLMapElement() override;
|
||||
|
||||
JS::NonnullGCPtr<DOM::HTMLCollection> areas();
|
||||
|
||||
private:
|
||||
HTMLMapElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
JS::GCPtr<DOM::HTMLCollection> m_areas;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue