mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
LibWeb: Implement the Element attributes getter
This commit is contained in:
parent
c62b70d88f
commit
5d4cd061c7
2 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@ public:
|
|||
ExceptionOr<void> set_attribute(const FlyString& name, const String& value);
|
||||
void remove_attribute(const FlyString& name);
|
||||
size_t attribute_list_size() const { return m_attributes->length(); }
|
||||
NonnullRefPtr<NamedNodeMap> const& attributes() const { return m_attributes; }
|
||||
|
||||
DOM::ExceptionOr<bool> matches(StringView selectors) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue