Closed Bug 1893855 Opened 2 years ago Closed 2 years ago

different and wrong calculated width in new version

Categories

(Core :: Layout, defect)

Firefox 125
defect

Tracking

()

RESOLVED DUPLICATE of bug 1893127

People

(Reporter: farzad.niazmand, Unassigned)

References

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Steps to reproduce:

Update the firefox from v124.0.2 to v125.0.2

Actual results:

It seems there is a change in float calculation and this cause final result to be different. Consider a div parent with 1183.3333740234375px width and three flex children each with calc(33.3333% - 10px) width. The actual calculated width in two versions are different. The widthes in new version are bigger and this cause responsiveness problems in my website.

Expected results:

Calculated widths should be the same as previous versions. There is an attached file. Execute it and see with diffs in v124.0.2 and v125.0.2

Attached file sample.html
Duplicate of this bug: 1893854

It would be helpful if you could determine a regression range with mozregression

Flags: needinfo?(farzad.niazmand)

(In reply to Robert Longson [:longsonr] from comment #3)

It would be helpful if you could determine a regression range with mozregression

Hi
sorry for the delay of my response

I tried a few times to get final report however the software froze at final step. I send an image of gui and hope It will be helpful

Flags: needinfo?(farzad.niazmand)
Attached image mozilla regression.PNG

Here is a new version of Sample.html file. This file show the problem clearly. Divs in correct output should not wrap and they should be in the same line

Attached file sample.html

v2 with flex wrap

Hello, thank you for the bug report!
I ran a regression range and found the same range as shown in the reporter’s attached image.

Results:

However, I could not reproduce this issue on Firefox Nightly 128.0a1, Firefox 127.0b4 and Firefox 126.0 using the attachment from Comment 7.
I ran mozregression to find a potential fix.

Results:

Reporter, could you please confirm if the issue is still reproducible on the latest nightly and beta builds respectively?

Moving the Product to ‘Core’ and Component to ‘Layout’. Please change if there’s a better fit, thank you.

Component: Untriaged → Layout
Flags: needinfo?(farzad.niazmand)
Product: Firefox → Core

Hi
It seems the bug has been fixed.
Thank you

Flags: needinfo?(farzad.niazmand)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1893127
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: