Closed Bug 1652599 Opened 6 years ago Closed 6 years ago

Firefox is showing an incorrect padding for every button in 78.0.1

Categories

(Core :: Layout, defect)

78 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: u666637, Unassigned)

Details

Attachments

(1 file)

Attached image Untitled.png —

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Visit a page like outlook.live.com and go to "login" and look at the blue button. Or, reddit.com and look at the "get coins" button (you'll need to log in). Now, go to Chromium and compare the size of the button.

Actual results:

Firefox will show a smaller size and also an incorrect vertical alignment of the text.

Expected results:

Buttons showing identical in the two browsers.

Comment on attachment 9163351 [details] Untitled.png Chromium is in the left side, Firefox, in the right side.

Also, I forgot to mention that I'm using Kubuntu 20.04

It seems that @font-face property is not being applied to button and input tags:
https://imgur.com/a/rpMvOaF

Hi,

I am not able to replicate the issue. I've tried on:Ubuntu 18.04.3 LTS on nightly 80.0a1

Please test if the issue occurs to you in safe mode (add-ons disabled). Here is a link that can help you do that:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

Also, try this on the latest version of nightly. You can download it from here: https://nightly.mozilla.org/

I will move this over to a component so developers can take a look over it. If is not the correct component please feel free to change it to an appropriate one.

Thanks for the report.

Best regards, Clara.

Component: Untriaged → Graphics
Product: Firefox → Core
Component: Graphics → Layout

Please provide the HTML+CSS used in that example.

Looks like the Reporter's account has been disabled for some reason, so I guess we won't get a testcase.

Anyway, I doubt there's an actual bug here; the reported problem could easily just be a result from Firefox/Chrome using a different default font for buttons and/or different default line-height. The rendering is never going to be pixel-perfect identical between browsers - that's a bogus assumption to make.

Feel free to file a new bug (including a HTML+CSS testcase) if you still think there's something wrong with our button rendering.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: