mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Make normalize_sublists_in_node() take a Node instead of Element
This prevents some unnecessary casting to DOM::Element.
This commit is contained in:
parent
d08febcf67
commit
83f48a07d4
Notes:
github-actions[bot]
2025-01-10 22:39:00 +00:00
Author: https://github.com/gmta
Commit: 83f48a07d4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3216
3 changed files with 7 additions and 7 deletions
|
@ -67,7 +67,7 @@ bool is_whitespace_node(GC::Ref<DOM::Node>);
|
|||
DOM::BoundaryPoint last_equivalent_point(DOM::BoundaryPoint);
|
||||
void move_node_preserving_ranges(GC::Ref<DOM::Node>, GC::Ref<DOM::Node> new_parent, u32 new_index);
|
||||
Optional<DOM::BoundaryPoint> next_equivalent_point(DOM::BoundaryPoint);
|
||||
void normalize_sublists_in_node(GC::Ref<DOM::Element>);
|
||||
void normalize_sublists_in_node(GC::Ref<DOM::Node>);
|
||||
bool precedes_a_line_break(GC::Ref<DOM::Node>);
|
||||
Optional<DOM::BoundaryPoint> previous_equivalent_point(DOM::BoundaryPoint);
|
||||
Vector<RecordedOverride> record_current_states_and_values(GC::Ref<DOM::Range>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue