mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
LibWeb: Make whitespace collapsing stateless
Previously, the whitespace collapsing code had a parameter telling it whether the previous text node ended in whitespace. This was not actually necessary, so let's get rid of it.
This commit is contained in:
parent
66582a875f
commit
4575ab558b
4 changed files with 10 additions and 19 deletions
|
@ -56,7 +56,7 @@ private:
|
|||
void skip_to_next();
|
||||
void compute_next();
|
||||
|
||||
void enter_text_node(Layout::TextNode const&, bool previous_is_empty_or_ends_in_whitespace);
|
||||
void enter_text_node(Layout::TextNode const&);
|
||||
|
||||
void enter_node_with_box_model_metrics(Layout::NodeWithStyleAndBoxModelMetrics const&);
|
||||
void exit_node_with_box_model_metrics();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue