LibWeb: Added HTMLLinkElement.as

This commit is contained in:
Hexeption 2024-06-04 08:04:44 +01:00 committed by Andreas Kling
commit 2f4668edce
Notes: sideshowbarker 2024-07-17 22:41:14 +09:00
5 changed files with 48 additions and 1 deletions

View file

@ -33,6 +33,8 @@ public:
String rel() const { return get_attribute_value(HTML::AttributeNames::rel); }
String type() const { return get_attribute_value(HTML::AttributeNames::type); }
String href() const { return get_attribute_value(HTML::AttributeNames::href); }
String as() const;
WebIDL::ExceptionOr<void> set_as(String const&);
JS::NonnullGCPtr<DOM::DOMTokenList> rel_list();