LibWeb: Fix tofu in textarea newlines on MacOS

Do not insert the codepoint from the platform event. Always insert 10
This commit is contained in:
Jonathan Gamble
2025-12-23 19:36:14 -06:00
committed by Shannon Booth
parent 2a8b83a568
commit e39f73f978
Notes: github-actions[bot] 2025-12-29 19:00:57 +00:00
2 changed files with 8 additions and 0 deletions

View File

@@ -137,6 +137,8 @@ public:
private:
HTMLTextAreaElement(DOM::Document&, DOM::QualifiedName);
virtual EventResult handle_return_key(FlyString const& ui_input_type) override;
virtual bool is_html_textarea_element() const final { return true; }
virtual void initialize(JS::Realm&) override;