Skip to content

Commit

Permalink
Don't clip range / checkbox / radio overflow to border box
Browse files Browse the repository at this point in the history
This is not web compatible for appearance: none (and might not be web compatible for appearance: auto on implementations with minimum sizes). In particular it's known that for appearance: none these elements can create overflow in a way such that engines honor the overflow property.

Fixes #10024.
  • Loading branch information
emilio authored Jan 12, 2024
1 parent cc2634f commit 1b64254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -131898,7 +131898,7 @@ input, select, button, textarea {
appearance: auto;
}

input:not([type=image i]) {
input:not([type=image i], [type=range i], [type=checkbox i], [type=radio i]) {
overflow: clip !important;
overflow-clip-margin: 0 !important;
}
Expand Down

0 comments on commit 1b64254

Please sign in to comment.