1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

LibWeb: Make HTMLInputElement move cursor into text node when focused

This mechanism feels rather awkward, but it's better than nothing.
This commit is contained in:
Andreas Kling 2022-02-06 19:27:10 +01:00
parent 65bd4477db
commit 9391311760
4 changed files with 29 additions and 0 deletions

View file

@ -132,6 +132,9 @@ public:
virtual RefPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>);
virtual void did_receive_focus() { }
virtual void did_lose_focus() { }
protected:
virtual void children_changed() override;