Open Bug 1885717 Opened 3 months ago Updated 1 month ago

Rendering of a Codepen demo with conic gradients/masks differs between Chrome and Nightly

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

Tracking Status
firefox-esr115 --- wontfix
firefox124 --- wontfix
firefox125 --- wontfix
firefox126 --- wontfix

People

(Reporter: mayankleoboy1, Unassigned, NeedInfo)

References

(Blocks 2 open bugs, )

Details

(Keywords: regression)

Attachments

(3 files, 2 obsolete files)

Go to https://codepen.io/ghaste/pen/oNOzRME

AR: The outer box is not colored in Nightly
ER: Maybe?

Tentatively putting in Layout, but please reclassify as needed.

Could repro on a build from Jan2022, so not a new regression.

bug 1885716 is about the same demo but the issue is different (color rendering)

See Also: → 1885716
Attached file about:support
Attached image Bug.png (obsolete) —
Summary: Rendering of a Codepen demo with masks differs between Chrome and Nightly → Rendering of a Codepen demo with conic gradients/masks differs between Chrome and Nightly

Either WR or web painting seem more likely components for this :)

Component: Layout → Graphics: WebRender

yeah, i was thinking it could possibly be due to the pseudo:class thing written in the comment.. But who among us truly know how the web works.

Attached file Reduced test-case. (obsolete) —

It seems the gradient is not working at all, maybe we assume that a single stop causes the gradient to be solid, which is usually true, but not if the color interpolation is not srgb?

Yeah, if I specify two stops like: background-image: linear-gradient(in hsl longer hue 45deg, #f66 0 0, #f66);, then it works as expected...

Yeah, so this check isn't quite correct, since the end stop might be implied from the start, Ashley can you take a look when you have the time?

Flags: needinfo?(ahale)
Keywords: regression
Regressed by: 1852513

Did you mean to make this reduced testcase for bug 1885716?
(I had filed this bug specifically for the the outer square not having any color at all, which seems to be broken atleast since 2022. Prior to that, the square would be colored, but different from Chrome)

Ah, sure, sorry for the mix-up.

Flags: needinfo?(ahale)
No longer regressed by: 1852513
Attachment #9391596 - Attachment is obsolete: true
Attached image Bug.png
Attachment #9391613 - Attachment is obsolete: true

This bug has been marked as a regression. Setting status flag for Nightly to affected.

Blocks: wr-gradients

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gwatson)
Severity: -- → S3
Flags: needinfo?(gwatson) → needinfo?(nical.bugzilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: