mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
parent
a0b44ff5e7
commit
85b424464a
Notes:
github-actions[bot]
2025-01-21 16:49:39 +00:00
Author: https://github.com/trflynn89
Commit: 85b424464a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3335
191 changed files with 574 additions and 574 deletions
|
@ -23,7 +23,7 @@ Counter& CountersSet::instantiate_a_counter(FlyString name, UniqueNodeID origina
|
|||
if (innermost_counter.has_value()) {
|
||||
auto* originating_node = DOM::Node::from_unique_id(innermost_counter->originating_element_id);
|
||||
VERIFY(originating_node);
|
||||
auto& innermost_element = verify_cast<DOM::Element>(*originating_node);
|
||||
auto& innermost_element = as<DOM::Element>(*originating_node);
|
||||
|
||||
if (&innermost_element == element
|
||||
|| (innermost_element.parent() == element->parent() && innermost_element.is_before(*element))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue