mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 00:49:46 +00:00
LibWeb: Rename is_generated to is_generated_for_pseudo_element
While much longer, this better conveys the intent. Since this method isn't used too often, I think the extra length is worth it.
This commit is contained in:
parent
e96122a58c
commit
191b026c9f
Notes:
github-actions[bot]
2025-09-24 11:34:48 +00:00
Author: https://github.com/zacoons
Commit: 191b026c9f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5530
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/kalenikaliaksandr
6 changed files with 8 additions and 8 deletions
|
|
@ -71,7 +71,7 @@ Optional<AbstractElement> AbstractElement::walk_layout_tree(WalkMethod walk_meth
|
|||
if (auto* previous_element = as_if<Element>(node->dom_node()))
|
||||
return AbstractElement { *previous_element };
|
||||
|
||||
if (node->is_generated())
|
||||
if (node->is_generated_for_pseudo_element())
|
||||
return AbstractElement { *node->pseudo_element_generator(), node->generated_for_pseudo_element() };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue