mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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:
committed by
Shannon Booth
parent
2a8b83a568
commit
e39f73f978
Notes:
github-actions[bot]
2025-12-29 19:00:57 +00:00
Author: https://github.com/jonbgamble 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/e39f73f9788 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7229 Reviewed-by: https://github.com/shannonbooth ✅
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user