1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:47:47 +00:00

LibWeb: Invalidate layout-transformed text on DOM text node change

This fixes an issue where programmatically changing the value of an
input element wasn't reflected visually.
This commit is contained in:
Andreas Kling 2023-08-16 11:03:00 +02:00
parent e2740bd19d
commit 1c47695bae
5 changed files with 44 additions and 0 deletions

View file

@ -47,6 +47,7 @@ public:
Utf8View::Iterator m_iterator;
};
void invalidate_text_for_rendering();
void compute_text_for_rendering();
virtual JS::GCPtr<Painting::Paintable> create_paintable() const override;