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

LibWeb: Implement Element.getAttributeNames

This commit is contained in:
Luke Wilde 2021-12-29 13:02:21 +00:00 committed by Andreas Kling
parent 6b39c6b1bf
commit 4427386d5f
3 changed files with 14 additions and 0 deletions

View file

@ -57,6 +57,7 @@ public:
void remove_attribute(const FlyString& name);
size_t attribute_list_size() const { return m_attributes->length(); }
NonnullRefPtr<NamedNodeMap> const& attributes() const { return m_attributes; }
Vector<String> get_attribute_names() const;
RefPtr<DOMTokenList> const& class_list();