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;
}
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;
}