New issue
Advanced search Search tips

Issue 741628 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Webkit gradient inverts on print

Reported by san0...@gmail.com, Jul 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. Navigate to ujnotes.com, or have a page with background-image: -webkit-linear-gradient(bottom,rgba(0,0,0,.2),transparent);
2. Print
3. Check "Background graphics"

What is the expected behavior?
Gradient in print should be as was rendered on the page

What went wrong?
The direction of the gradient was inverted

Did this work before? N/A 

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 10.0
Flash Version: 

Inverting the direction for print via CSS is an effective workaround
 
Web.png
6.2 KB View Download
Print.png
4.8 KB View Download
Components: UI>Browser>PrintPreview
Labels: M-61 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Windows-10. Ubuntu 14.04 and Mac OS 10.12.5 using chrome latest stable #59.0.3071.115 by following steps mentioned in the original comment. Observed gradient is inverted in the print preview of chrome after enabling background graphics.

Tested this issue on chrome M35-35.0.1849.0 and the webpage didn't render properly so checked the same on M45-45.0.2454.101 and observed similar issue, so considering this is a non-regression issue and marking it as untriaged.

Thanks!
Cc: halcanary@chromium.org
I think I fixed this with https://skia.googlesource.com/skia/+/a062258

It seems to be fixed in m61.
Labels: Needs-Feedback
Fixed here me on current Chrome Canary - 62.0.3168.0. Is this still an issue on Chrome 61 or higher?
Status: Fixed (was: Untriaged)
Marking as fixed (61+).

I can backport a one-line fix to earlier milestones if requested.
Cc: -halcanary@chromium.org
Owner: halcanary@google.com

Sign in to add a comment