mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +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
|
@ -46,7 +46,7 @@ public:
|
|||
Utf8View::Iterator m_iterator;
|
||||
};
|
||||
|
||||
void compute_text_for_rendering(bool collapse, bool previous_is_empty_or_ends_in_whitespace);
|
||||
void compute_text_for_rendering(bool collapse);
|
||||
|
||||
virtual RefPtr<Painting::Paintable> create_paintable() const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue