mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 00:19:18 +00:00
Everywhere: Change west consts caught by clang-format-21 to east consts
This commit is contained in:
parent
829437c11d
commit
b17783bb10
Notes:
github-actions[bot]
2025-08-29 17:20:11 +00:00
Author: https://github.com/Lubrsi
Commit: b17783bb10
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6023
Reviewed-by: https://github.com/tcl3 ✅
49 changed files with 80 additions and 80 deletions
|
@ -133,7 +133,7 @@ String Node::base_uri() const
|
|||
return document().base_url().to_string();
|
||||
}
|
||||
|
||||
const HTML::HTMLAnchorElement* Node::enclosing_link_element() const
|
||||
HTML::HTMLAnchorElement const* Node::enclosing_link_element() const
|
||||
{
|
||||
for (auto* node = this; node; node = node->parent()) {
|
||||
auto const* anchor_element = as_if<HTML::HTMLAnchorElement>(*node);
|
||||
|
@ -145,12 +145,12 @@ const HTML::HTMLAnchorElement* Node::enclosing_link_element() const
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
const HTML::HTMLElement* Node::enclosing_html_element() const
|
||||
HTML::HTMLElement const* Node::enclosing_html_element() const
|
||||
{
|
||||
return first_ancestor_of_type<HTML::HTMLElement>();
|
||||
}
|
||||
|
||||
const HTML::HTMLElement* Node::enclosing_html_element_with_attribute(FlyString const& attribute) const
|
||||
HTML::HTMLElement const* Node::enclosing_html_element_with_attribute(FlyString const& attribute) const
|
||||
{
|
||||
for (auto* node = this; node; node = node->parent()) {
|
||||
if (auto* html_element = as_if<HTML::HTMLElement>(*node); html_element && html_element->has_attribute(attribute))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue