mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Make block_extend_a_range() take a GC::Ref for the range
This makes it more consistent with the other signatures.
This commit is contained in:
parent
e5b107b6b6
commit
bd2488a468
Notes:
github-actions[bot]
2025-01-10 22:39:36 +00:00
Author: https://github.com/gmta
Commit: bd2488a468
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3216
2 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
|
||||
* Copyright (c) 2024-2025, Jelle Raaijmakers <jelle@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -31,7 +31,7 @@ using Selection::Selection;
|
|||
// Below algorithms are specified here:
|
||||
// https://w3c.github.io/editing/docs/execCommand/#assorted-common-algorithms
|
||||
|
||||
GC::Ref<DOM::Range> block_extend_a_range(DOM::Range&);
|
||||
GC::Ref<DOM::Range> block_extend_a_range(GC::Ref<DOM::Range>);
|
||||
GC::Ptr<DOM::Node> block_node_of_node(GC::Ref<DOM::Node>);
|
||||
String canonical_space_sequence(u32 length, bool non_breaking_start, bool non_breaking_end);
|
||||
void canonicalize_whitespace(DOM::BoundaryPoint, bool fix_collapsed_space = true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue