conic-gradient with multiple stops renders incorrectly
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox122 | --- | wontfix |
firefox123 | --- | fixed |
firefox124 | --- | fixed |
People
(Reporter: mcbain.asm, Unassigned)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0
Steps to reproduce:
- Create a Canvas
- Draw a conic gradient to the canvas with an #ff8c00 and an #ffed00 stop, in that order
Actual results:
Only one color draws, in olive drab. (All colors are washed out.)
Expected results:
There should be two colors: bright orange then yellow. The top half will be yellow, the bottom orange.
Edge (and presumably all Chromium derivatives) render this correctly.
Reporter | ||
Comment 1•10 months ago
|
||
When more colors stops are added, it's easier to see the color washout and it still skips the orange, in favor of a larger section of yellow.
Reporter | ||
Comment 2•10 months ago
|
||
Actually it also replaces the last two stops with gray, I just noticed. It will render the second stop if I swap it for a different color, but the last two will still remain gray.
This isn't particular to "hard stops," as if the second stop for each color is removed orange will appear (but not as much as it should, when compared with Edge), and the end stops will still be rendered gray.
Comment 3•10 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 4•10 months ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d619ad58f951905f48571e1804cf9132885ce885&tochange=502f57bb0ebbce52ba15616a4aa213f2478f8e1f
Comment 5•10 months ago
|
||
:sergesanspaille, since you are the author of the regressor, bug 1834815, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Reporter | ||
Comment 6•10 months ago
|
||
As an FYI, my observation of the washed out colors is covered by bug 1851963.
Updated•10 months ago
|
Comment 7•10 months ago
|
||
:lsalzman, can you comment to the bug?
Comment 8•10 months ago
|
||
I second Art McBain, this should be covered by bug 1851963.
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Description
•