New issue
Advanced search Search tips

Issue 602613 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , All , Chrome , Mac
Pri: 3
Type: Compat



Sign in to add a comment

gradients "linear-gradient" "to left top" are jagged

Reported by t...@tobireif.com, Apr 12 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Example URL:
http://codepen.io/yoksel/pen/IirGH

Steps to reproduce the problem:
1. Load http://codepen.io/yoksel/pen/IirGH in Chrome.
  (demo by http://codepen.io/yoksel/ )
2. View the pattern.

What is the expected behavior?
Nice rendering, eg as in Firefox.

What went wrong?
Very jagged edges in Chrome, please see the screenshots.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 49.0.2623.110  Channel: stable
OS Version: OS X 10.11.4
Flash Version: 

Some code:
background-image: -webkit-linear-gradient(right bottom, violet -5%, violet 5%, teal 0%, teal 10%, steelblue 5%, steelblue 15%, skyblue 10%, skyblue 20%, yellowgreen 15%, yellowgreen 25%, yellow 20%, yellow 30%, gold 25%, gold 35%, orange 30%, orange 40%, crimson 35%, crimson 45%, purple 40%, purple 50%, violet 45%, violet 55%, teal 50%, teal 60%, steelblue 55%, steelblue 65%, skyblue 60%, skyblue 70%, yellowgreen 65%, yellowgreen 75%, yellow 70%, yellow 80%, gold 75%, gold 85%, orange 80%, orange 90%, crimson 85%, crimson 95%, purple 90%, purple 100%), -webkit-linear-gradient(left bottom, violet -5%, violet 5%, teal 0%, teal 10%, steelblue 5%, steelblue 15%, skyblue 10%, skyblue 20%, yellowgreen 15%, yellowgreen 25%, yellow 20%, yellow 30%, gold 25%, gold 35%, orange 30%, orange 40%, crimson 35%, crimson 45%, purple 40%, purple 50%, violet 45%, violet 55%, teal 50%, teal 60%, steelblue 55%, steelblue 65%, skyblue 60%, skyblue 70%, yellowgreen 65%, yellowgreen 75%, yellow 70%, yellow 80%, gold 75%, gold 85%, orange 80%, orange 90%, crimson 85%, crimson 95%, purple 90%, purple 100%)
background-color: orangered
 
screenshot_firefox.png
22.2 KB View Download
screenshot_chrome.png
21.0 KB View Download
Components: Internals>Graphics
Owner: ccameron@chromium.org
Status: Assigned (was: Unconfirmed)
Reproduced locally with 52.0.2705.0 on 10.11.4. Not sure if this is Mac-specific. Assigning to ccameron@ for a look.

Comment 2 by t...@tobireif.com, Apr 12 2016

Also see https://twitter.com/TobiReif/status/719864553157345282 :
Strangely, it ~works with "background-size" set to eg "100px 100px" / "200px 200px" / "400px 400px" - but it's jagged with eg "300px 300px" / "210px 210px".
Components: -Internals>Graphics Internals>Compositing>Rasterization
Labels: -OS-Mac OS-All
Owner: ----
Status: Available (was: Assigned)
Don't think this is Mac-specific (certainly isn't CoreAnimation-specific).

Moving over to Raster.
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 13 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been available for more than 365 days, and should be re-evaluated. Please re-triage this issue.
The Hotlist-Recharge-Cold label is applied for tracking purposes, and should not be removed after re-triaging the issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by t...@tobireif.com, Apr 13 2017

The problem is still there in the latest Canary. I hope it can be fixed soon.

Comment 6 by enne@chromium.org, Apr 13 2017

Cc: danakj@chromium.org chrishtr@chromium.org
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
I haven't debugged this, but it seems similar to some of the background-image scale issues we've seen in the past.
Project Member

Comment 7 by sheriffbot@chromium.org, Apr 16 2018

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: schenney@chromium.org pdr@chromium.org vmp...@chromium.org
cc'ing paint/compositor experts

I can still reproduce this on a MBP.
Labels: Needs-Investigation
Status: Available (was: Untriaged)
Components: -Internals>Compositing>Rasterization Blink>Paint
Labels: OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
AT 125% it looks fine. At 100% it looks bad. Seems like an issue tiling gradients, which is not real surprising.

Comment 11 by t...@tobireif.com, Apr 23 2018

Thanks for investigating!

Is the issue fixable? I think it works correctly in Firefox.
Owner: schenney@chromium.org
Status: Assigned (was: Available)
Possibly fixable. I'll look at it as part of my attempt to fix all the known background image issues.

Sign in to add a comment