mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibWeb: Add missing text to find_appropriate_place_for_inserting_node()
This commit is contained in:
parent
3fbbe9d6a5
commit
d7b4e1f2e3
Notes:
github-actions[bot]
2025-02-20 21:57:02 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/d7b4e1f2e32 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3560 Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 0 deletions
|
@ -690,6 +690,7 @@ GC::Ptr<DOM::Element> HTMLParser::node_before_current_node()
|
|||
HTMLParser::AdjustedInsertionLocation HTMLParser::find_appropriate_place_for_inserting_node(GC::Ptr<DOM::Element> override_target)
|
||||
{
|
||||
// 1. If there was an override target specified, then let target be the override target.
|
||||
// Otherwise, let target be the current node.
|
||||
auto& target = override_target ? *override_target.ptr() : *current_node();
|
||||
HTMLParser::AdjustedInsertionLocation adjusted_insertion_location;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue