mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb/HTML: Update get_an_elements_noopener() to current spec
Note that this preemptively includes this fix to step 3: https://github.com/whatwg/html/pull/10962
This commit is contained in:
parent
6bc38832af
commit
1bd73184da
Notes:
github-actions[bot]
2025-01-31 17:28:04 +00:00
Author: https://github.com/AtkinsSJ
Commit: 1bd73184da
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3402
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/shannonbooth
Reviewed-by: https://github.com/tcl3 ✅
7 changed files with 25 additions and 11 deletions
|
@ -48,9 +48,9 @@ private:
|
|||
{
|
||||
return get_an_elements_target(target);
|
||||
}
|
||||
virtual TokenizedFeature::NoOpener hyperlink_element_utils_get_an_elements_noopener(StringView target) const override
|
||||
virtual TokenizedFeature::NoOpener hyperlink_element_utils_get_an_elements_noopener(URL::URL const& url, StringView target) const override
|
||||
{
|
||||
return get_an_elements_noopener(target);
|
||||
return get_an_elements_noopener(url, target);
|
||||
}
|
||||
|
||||
virtual Optional<ARIA::Role> default_role() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue