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

LibWeb: Implement Element.getAttributeNode

This commit is contained in:
Luke Wilde 2022-11-05 04:37:40 +00:00 committed by Andreas Kling
parent 469ef22a22
commit 8066a67da2
3 changed files with 12 additions and 0 deletions

View file

@ -72,6 +72,8 @@ public:
NamedNodeMap const* attributes() const { return m_attributes.ptr(); }
Vector<String> get_attribute_names() const;
JS::GCPtr<Attr> get_attribute_node(FlyString const& name) const;
DOMTokenList* class_list();
WebIDL::ExceptionOr<bool> matches(StringView selectors) const;