Open Bug 1791628 Opened 2 years ago Updated 2 months ago

moving gradients do not work as expected

Categories

(Core :: Graphics: WebRender, defect)

Firefox 104
defect

Tracking

()

People

(Reporter: e.bitsilis, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Steps to reproduce:

set a div with fixed height ( 500px )

add a linear-gradient with 45deg angle ( or any angle expept 0, 90, 180, 270 and 360 ) with 4+ colors as background image

with JS setInteval and a for loop change the where the first color starts ( or the last )

https://stackoverflow.com/questions/73766132/how-to-fix-the-flickering-shaky-gradient-on-firefox

Actual results:

if you follow the steps above you'll notice all the colors are shaking

Expected results:

Only the 1st color should move

The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout
Product: Firefox → Core
Component: Layout → Graphics: WebRender
Status: UNCONFIRMED → NEW
Ever confirmed: true

Yeah, seems to be a webrender thing: using an old build if I disable webrender then that fixes it.

:gw, can you comment to the bug?

Severity: -- → S3
Flags: needinfo?(gwatson)
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)

This might have the same underlying cause as bug 1769968

Assignee: gwatson → nobody
Blocks: wr-gradients
Blocks: 1889073
No longer blocks: wr-gradients
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: