LibWeb: Implement Element.getAttributeNode

This commit is contained in:
Luke Wilde 2022-11-05 04:37:40 +00:00 committed by Andreas Kling
commit 8066a67da2
Notes: sideshowbarker 2024-07-17 10:54:57 +09:00
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;