mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
LibWeb: Use default paragraph separator in delete command
This commit is contained in:
parent
4a64557876
commit
bb618736e9
Notes:
github-actions[bot]
2024-11-30 16:37:08 +00:00
Author: https://github.com/gmta
Commit: bb618736e9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2655
Reviewed-by: https://github.com/shannonbooth
Reviewed-by: https://github.com/yyny
3 changed files with 100 additions and 8 deletions
|
@ -25,6 +25,7 @@ String canonical_space_sequence(u32 length, bool non_breaking_start, bool non_br
|
|||
void canonicalize_whitespace(GC::Ref<DOM::Node>, u32 offset, bool fix_collapsed_space = true);
|
||||
void delete_the_selection(Selection::Selection const&);
|
||||
GC::Ptr<DOM::Node> editing_host_of_node(GC::Ref<DOM::Node>);
|
||||
void fix_disallowed_ancestors_of_node(GC::Ptr<DOM::Node>);
|
||||
bool follows_a_line_break(GC::Ref<DOM::Node>);
|
||||
bool is_allowed_child_of_node(Variant<GC::Ref<DOM::Node>, FlyString> child, Variant<GC::Ref<DOM::Node>, FlyString> parent);
|
||||
bool is_block_boundary_point(GC::Ref<DOM::Node>, u32 offset);
|
||||
|
@ -39,6 +40,7 @@ bool is_in_same_editing_host(GC::Ref<DOM::Node>, GC::Ref<DOM::Node>);
|
|||
bool is_inline_node(GC::Ref<DOM::Node>);
|
||||
bool is_invisible_node(GC::Ref<DOM::Node>);
|
||||
bool is_name_of_an_element_with_inline_contents(FlyString const&);
|
||||
bool is_prohibited_paragraph_child(GC::Ref<DOM::Node>);
|
||||
bool is_prohibited_paragraph_child_name(FlyString const&);
|
||||
bool is_visible_node(GC::Ref<DOM::Node>);
|
||||
bool is_whitespace_node(GC::Ref<DOM::Node>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue