parent
76de41c3b7
commit
73e87d694e
Notes:
sideshowbarker
2024-07-17 14:36:19 +09:00
Author: https://github.com/Baitinq Commit: https://github.com/SerenityOS/serenity/commit/73e87d694e Pull-request: https://github.com/SerenityOS/serenity/pull/16195 Issue: https://github.com/SerenityOS/serenity/issues/16127
1 changed files with 3 additions and 0 deletions
|
@ -255,6 +255,9 @@ void InlineLevelIterator::enter_text_node(Layout::TextNode const& text_node)
|
|||
do_respect_linebreaks = true;
|
||||
}
|
||||
|
||||
if (text_node.dom_node().is_editable() && !text_node.dom_node().is_uninteresting_whitespace_node())
|
||||
do_collapse = false;
|
||||
|
||||
// FIXME: The const_cast here is gross.
|
||||
const_cast<TextNode&>(text_node).compute_text_for_rendering(do_collapse);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue