Closed Bug 1707456 Opened 4 years ago Closed 4 years ago

linear-gradient is broken on firefox nightly (90, build 20210424155423)

Categories

(Core :: Graphics: WebRender, defect)

Firefox 90
defect

Tracking

()

RESOLVED DUPLICATE of bug 1707460
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- unaffected
firefox90 --- affected

People

(Reporter: mmis1000, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

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

Steps to reproduce:

  1. Create a page with following style
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
  <style>
  .b {
  height: 1px;
  background: red;
}
.test {
  background: -webkit-gradient(linear,left bottom,left top,color-stop(-.45%,#7196ff),color-stop(71.18%,#2a5ee8));
background: linear-gradient(0deg,#7196ff -.45%,#2a5ee8 71.18%);
  height: 200px;
  background: 1px solid red;
}
  </style>
</head>
<body>
  <div class="b"></div>
<div class="test"></div>
  <div class="b"></div>
</body>
</html>
  1. Open it in firefox nightly ((90, build 20210424155423)

Actual results:

There is a mysterious space between the top and red line above.
Something even weird is, this only affects visual instead of screenshot.
Buildin screenshots works just fine.

Expected results:

The linear-gradient should fill between the two red line

Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics: WebRender
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Regressed by: 1702638
Has Regression Range: --- → yes

Could that be the same issue seeing on the category bar on youtube on the left arrow - when scrolling to the right?

(In reply to Albert Scheiner [:alberts] from comment #3)

Created attachment 9218650 [details]
yt-category-bar-gradient.png

Could that be the same issue seeing on the category bar on youtube on the left arrow - when scrolling to the right?

@Albert,
It seems a different bug.
Can you please file a new bug report?

Filed Bug 1707930

Flags: needinfo?(albert)
Flags: needinfo?(albert)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: