Fix UA style value for textarea (#35574)

Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
batu_hoang 2025-03-20 00:01:39 +08:00 committed by GitHub
parent 8f79b77c13
commit 11d47558b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,18 +124,14 @@ img {
overflow-clip-margin: 0 !important; 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]), input:not([type=radio i]):not([type=checkbox i]):not([type=reset i]):not([type=button i]):not([type=submit i]) {
textarea {
cursor: text; cursor: text;
overflow: hidden !important; 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; white-space: pre;
} }
textarea { textarea {
cursor: text;
overflow: auto; overflow: auto;
} }