Closed Bug 905246 Opened 11 years ago Closed 11 years ago

CSS linear-gradient background-image broken in some conditions

Categories

(Firefox :: Untriaged, defect)

25 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 902591

People

(Reporter: jesse, Unassigned)

Details

Attachments

(1 file)

Attached image results.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release) Build ID: 20130814004004 Steps to reproduce: This is for Aurora build 25.0a2 (2013-08-14). Create a div element with the following CSS: ``` { background-image: linear-gradient(rgb(0, 181, 203), rgb(0, 181, 90)); border-radius: 4px; border: 1px solid black; width: 200px; height: 100px; } ``` Actual results: The element is rendered with a solid background color of rgb(0, 181, 90). Removing the width, height, border, or border-radius renders the expected results. Expected results: The element should have been rendered with a linear gradient from rgb(0, 181, 203) to rgb(0, 181, 90).
This is basically the same as bug 902591 (nobody tested with width or height specified there).
Status: UNCONFIRMED → RESOLVED
Closed: 11 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: