From 11d47558b3f8522bc2835c780489832d330046e0 Mon Sep 17 00:00:00 2001 From: batu_hoang <55729155+longvatrong111@users.noreply.github.com> Date: Thu, 20 Mar 2025 00:01:39 +0800 Subject: [PATCH] Fix UA style value for textarea (#35574) Signed-off-by: batu_hoang --- resources/servo.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/resources/servo.css b/resources/servo.css index d9f0366c217..cea5caedc69 100644 --- a/resources/servo.css +++ b/resources/servo.css @@ -124,18 +124,14 @@ img { overflow-clip-margin: 0 !important; } -input:not([type=radio i]):not([type=checkbox i]):not([type=reset i]):not([type=button i]):not([type=submit i]), -textarea { +input:not([type=radio i]):not([type=checkbox i]):not([type=reset i]):not([type=button i]):not([type=submit i]) { cursor: text; overflow: hidden !important; - -servo-overflow-clip-box: content-box; -} - -input:not([type=radio i]):not([type=checkbox i]):not([type=reset i]):not([type=button i]):not([type=submit i]) { white-space: pre; } textarea { + cursor: text; overflow: auto; }