diff --git a/layout/style/res/forms.css b/layout/style/res/forms.css index c8d56e7d86b3..dcd45d9c6dcc 100644 --- a/layout/style/res/forms.css +++ b/layout/style/res/forms.css @@ -625,10 +625,6 @@ input:is([type=reset], [type=button], [type=submit]):hover { ::file-selector-button:active:hover, button:active:hover, input:is([type=reset], [type=button], [type=submit], [type=color]):active:hover { -%ifndef XP_MACOSX - padding-block: 0; - padding-inline: 9px 7px; -%endif border-style: inset; background-color: ButtonFace; } @@ -658,11 +654,7 @@ input:is([type=reset], [type=button], [type=submit]):active:hover { button:is(:disabled, :disabled:active), input:is([type=reset], [type=button], [type=submit], [type=color]):is(:disabled, :disabled:active), select:is(:disabled, :disabled:active) > button { - /* The sum of border and padding on block-start and block-end - must be the same here and for text inputs */ - padding-block: 0; - padding-inline: 8px; - border: 2px outset ThreeDLightShadow; + border-style: outset; cursor: unset; }