mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +00:00
LibWeb: Use the [Reflect] attribute to implement HTMLLinkElement.as
Also ensure that all valid potential destinations are allowed permitted.
This commit is contained in:
parent
aafc829e6d
commit
4ad8ba11d5
Notes:
github-actions[bot]
2024-11-29 08:49:55 +00:00
Author: https://github.com/tcl3
Commit: 4ad8ba11d5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2627
3 changed files with 29 additions and 21 deletions
|
@ -33,7 +33,6 @@ 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&);
|
||||
|
||||
GC::Ref<DOM::DOMTokenList> rel_list();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue