mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-01 16:02:53 +00:00
LibWeb: Implement the HTMLAreaElement.relList
attribute
This returns a DOMTokenList that reflects the `rel` attribute.
This commit is contained in:
parent
b7fd39c2e6
commit
0a3e1846f0
Notes:
sideshowbarker
2024-07-17 02:29:45 +09:00
Author: https://github.com/tcl3
Commit: 0a3e1846f0
Pull-request: https://github.com/SerenityOS/serenity/pull/24342
5 changed files with 24 additions and 1 deletions
|
@ -20,6 +20,7 @@ class HTMLAreaElement final
|
|||
|
||||
public:
|
||||
virtual ~HTMLAreaElement() override;
|
||||
JS::GCPtr<DOM::DOMTokenList> rel_list();
|
||||
|
||||
private:
|
||||
HTMLAreaElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
@ -50,6 +51,8 @@ private:
|
|||
}
|
||||
|
||||
virtual Optional<ARIA::Role> default_role() const override;
|
||||
|
||||
JS::GCPtr<DOM::DOMTokenList> m_rel_list;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue