Closed Bug 1707460 Opened 3 years ago Closed 3 years ago

discord.com background is cropped

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- unaffected
firefox90 --- fixed

People

(Reporter: emilio, Assigned: nical)

References

(Regressed 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

See bug 1702228 comment 11. Test-case: https://jsfiddle.net/g4sL2e5c/show

We should add that test-case as a WPT.

Flags: needinfo?(nical.bugzilla)

The code that decompose linear gradients inserts fake gradient stops to deal with the potential constant color areas before and after the gradient endpoints. The offsets of these extra stops were computed without accounting for the transformation the loop does in the case of reversed stops. This patch fixes that.

Depends on D113289

Assignee: nobody → nical.bugzilla
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1702228

Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d789290b3a2b
Better handle reversed gradient stops. r=gfx-reviewers,bradwerth
Flags: needinfo?(nical.bugzilla)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Has Regression Range: --- → yes
Regressions: 1833397
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: