Skip to content

Commit

Permalink
Bug 1872509 - Don't clip checkbox/radio overflow. r=dholbert
Browse files Browse the repository at this point in the history
Since it's not web-compatible. I had already brought this possibility up
in the comments of whatwg/html#10025, so will
update that PR accordingly.

Remove forceful overflow: hidden for file / date inputs, which was
caught by the tests in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D197456

UltraBlame original commit: 30b0d1ecdc26a3e4753bef7807739106282ed827
  • Loading branch information
marco-c committed Jan 1, 2024
1 parent ba0b6bc commit 308c0a0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions layout/style/res/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -3261,6 +3261,18 @@ type
range
i
]
[
type
=
checkbox
i
]
[
type
=
radio
i
]
)
{
overflow
Expand Down Expand Up @@ -3986,12 +3998,6 @@ nowrap
important
;
overflow
:
hidden
!
important
;
overflow
-
clip
-
Expand Down Expand Up @@ -6219,12 +6225,6 @@ local
]
)
{
overflow
:
hidden
!
important
;
font
-
family
Expand Down

0 comments on commit 308c0a0

Please sign in to comment.