Open Bug 1736475 Opened 4 years ago Updated 3 years ago

CSS Linear gradient leaves a white line on Firefox only

Categories

(Core :: Layout, defect)

Firefox 93
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mikeraffone420, Unassigned)

References

()

Details

Attachments

(2 files)

Attached image FirefoxGradient.png

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

Steps to reproduce:

<div class='example'></div>
.example {
width:100%;
height:200px;
background: linear-gradient(to left, lightblue, blue, lightblue)
}

Actual results:

At certain browser widths, the gradient breaks and leaves a white line.
Tested on Edge and Chrome - both of these browsers work fine
It is at several widths that it will break.

Expected results:

There shouldn't be a white line in the middle of the gradient

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

Component: Untriaged → Layout
Product: Firefox → Core

Hi Nope,

I tested this on my end on these Firefox versions: Release 93.0 (64-bit), Beta 94.0b8 (64-bit) and Nightly 95.0a1 (2021-10-21) (64-bit) but I was unable to reproduce the white line. I have a Windows 10 laptop with a 14-inch screen. I also tried resizing the browser window and zooming in and out.

What kind of monitor are you using? Could you specify if this happens at a specific browser width?

Thanks in advance,
Virginia

Flags: needinfo?(mikeraffone420)

I was not able to reproduce this using Nightly 96 on OS X. Can you recreate this with a specific width set via CSS to reproduce with?

I don't see the issue on my Linux either. I am attaching the test case as an HTML file (since I can't open the data URL directly).

Though I haven't been able to reproduce the issue locally, I am setting S3 for now.

Severity: -- → S3

Clear a needinfo that is pending on an inactive user.

For more information, please visit auto_nag documentation.

Flags: needinfo?(mikeraffone420)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: