From a1d78c350b6473a27463c8b0dcdd2c8396e0fe38 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Mon, 1 Jan 2024 00:39:44 +0000 Subject: [PATCH] Bug 1872509 - Don't clip checkbox/radio overflow. r=dholbert Since it's not web-compatible. I had already brought this possibility up in the comments of https://github.com/whatwg/html/pull/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 --- layout/style/res/forms.css | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/layout/style/res/forms.css b/layout/style/res/forms.css index 40107e1b0dde..d95464069f37 100644 --- a/layout/style/res/forms.css +++ b/layout/style/res/forms.css @@ -3261,6 +3261,18 @@ type range i ] +[ +type += +checkbox +i +] +[ +type += +radio +i +] ) { overflow @@ -3986,12 +3998,6 @@ nowrap important ; overflow -: -hidden -! -important -; -overflow - clip - @@ -6219,12 +6225,6 @@ local ] ) { -overflow -: -hidden -! -important -; font - family