Closed Bug 1867056 Opened 1 year ago Closed 1 year ago

Solid-color background of elements with border-radius > 0px and on-screen width or height > 256px not drawn correctly on Windows ARM64

Categories

(Core :: Graphics, defect)

Firefox 121
defect

Tracking

()

RESOLVED DUPLICATE of bug 1852440
Tracking Status
firefox-esr115 --- unaffected
firefox120 --- wontfix
firefox121 --- wontfix
firefox122 --- wontfix

People

(Reporter: jonasm, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

Device: Microsoft Surface Pro X SQ1
Operating system: Microsoft Windows 11 Home (version 23H2, build 22631.2715)
Firefox: 121.0b4 (both ARM64 and 64-bit version exhibit this issue)
Steps to reproduce: Open any web page containing an element which has a border-radius > 0px, a visible solid color background, and is displayed with a width or height exceeding 256 pixels on-screen (after CSS transform, zoom-level and high-res screen scaling).

Actual results:

The element's solid-color background is not clipped to the rounded corners and is not drawn with the correct transparency (set by CSS opacity or background alpha value). Transparency caused by setting the element's CSS opacity < 1 gets applied correctly as long as the element has some other visible part (e.g. children, border) being drawn. Image and gradient backgrounds get clipped correctly.

Expected results:

Transparency and rounded corners should always be drawn correctly. More specifically, in the attached screenshot the rows with "width: 256px" and "width: 257px" should look identical except for the 1px width difference for each element.

Jonas, can you please attach the contents of about:support as an attachment on this bug?

Flags: needinfo?(xsx0h5i39)
Component: Web Painting → Graphics

Was this working in the past and just stopped working for you?

Attached file about:support
Flags: needinfo?(xsx0h5i39)

(In reply to Timothy Nikkel (:tnikkel) from comment #4)

Was this working in the past and just stopped working for you?

When I first installed Firefox on this device in June 2023, that was probably version 114 and the issue appeared then and in every subsequent version since. However, I am working on regression testing right now and I was able to confirm that version 67 (the first one with an ARM64 build) does not exhibit the issue. I will try to narrow it down further.

(In reply to Jonas M [:jonasm] from comment #6)

(In reply to Timothy Nikkel (:tnikkel) from comment #4)

Was this working in the past and just stopped working for you?

When I first installed Firefox on this device in June 2023, that was probably version 114 and the issue appeared then and in every subsequent version since. However, I am working on regression testing right now and I was able to confirm that version 67 (the first one with an ARM64 build) does not exhibit the issue. I will try to narrow it down further.

I must have remembered it wrong, since now I found out the regression was introduced between versions 115 and 116.

Thanks for the further info. You can use https://mozilla.github.io/mozregression/ to make the testing easier.

(In reply to Timothy Nikkel (:tnikkel) from comment #8)

Thanks for the further info. You can use https://mozilla.github.io/mozregression/ to make the testing easier.

Thanks, this is a really helpful tool! I was able to pin down the responsible commit: https://hg.mozilla.org/integration/autoland/rev/928b0d1a27d51da8561d2e52e32fe6aa1354d7cb

Thanks for the regression range!

Keywords: regression
Regressed by: 1830588
Status: UNCONFIRMED → NEW
Ever confirmed: true

:gw, since you are the author of the regressor, bug 1830588, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(gwatson)

Just noticed this is probably a duplicate of Bug 1852440 which I did not find before. Should I add my additional info there and close this report?

I'll mark this as a duplicate, which will close this but link it to the other bug.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1852440
Flags: needinfo?(gwatson)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: