LibWeb/CSS: Clip image inputs

Corresponds to
7486cd721e
This commit is contained in:
Sam Atkins 2026-06-05 11:03:58 +01:00 committed by Callum Law
parent 4df6ecd176
commit 9cc6270bbc

View file

@ -636,11 +636,15 @@ input, select, button, textarea {
appearance: auto;
}
input:not([type=image i], [type=range i], [type=checkbox i], [type=radio i]) {
input:not([type=range i], [type=checkbox i], [type=radio i]) {
overflow: clip !important;
overflow-clip-margin: 0 !important;
}
input[type=image i] {
overflow-clip-margin: content-box !important;
}
input, select, textarea {
text-align: initial;
}