Category button gradients are broken when scrolling the Youtube category bar.
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox88 | --- | unaffected |
| firefox89 | --- | unaffected |
| firefox90 | --- | verified |
People
(Reporter: alice0775, Assigned: nical)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Attachments
(2 files)
Steps to reproduce:
- Open https://www.youtube.com/
- Scroll the category bar (Click
<or>button at the right side of the category bar)
Actual Results:
Category button gradients are broken
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2174903818ae542d463979cd70134789e4ffdc80&tochange=f733b37f9626548ae83564a3fd43ddfa972977d9
Suspect: Bug 1702638 and Bug 1702228
Additional info:
Bug 1707460 (autoland change set d789290b3a2b) did not fix this problem.
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
WebRender internally reverses gradient stops when they are ordered from right to left. This is done while building the GPU data and the gradient cache key stored the reversed stops without sepcifying if they were revered or originally in that order. This meant that if a page had two similar gradients with the only difference being that on was reversed but not the other, they could end up using the same cache key and one of the two would not be rendered properly.
This patch includes a boolean in the cache key to make sure reversed gradients don't accidentally use the same key as similar non-reversed gradients.
Comment 4•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Hello,
I’ve managed to reproduce this issue using Firefox 90.0a1 (2021-04-27) on Ubuntu 20.04x64 by following the STR from Comment 0.
This is verified fixed using Firefox 90.0b4 on the following OSes: Windows 10x64, Ubuntu 20.04x64 and macOS 11.3.
Updated•4 years ago
|
Description
•