mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Added HTMLLinkElement.as
This commit is contained in:
parent
4b3e26c583
commit
2f4668edce
Notes:
sideshowbarker
2024-07-17 22:41:14 +09:00
Author: https://github.com/Hexeption
Commit: 2f4668edce
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/39
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/nico
5 changed files with 48 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue