Save As PDF misaligns pattern generated for linear-gradient
Reported by
zow...@gmail.com,
Jun 16 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 Example URL: https://output.jsbin.com/tuhotoseyo Steps to reproduce the problem: 1. create a div with `background: linear-gradient(rgba(0,100,0,0.3), rgba(100,0,100,0.5), rgba(100,0,0,1));` 2. print to "Save As PDF" with "Background Graphics = on" 3. open the pdf in acrobat viewer (or see it in print preview) What is the expected behavior? gradient should not have red line at the top What went wrong? see the red line (same as at the bottom of the div) appears at the top Does it occur on multiple sites: No Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 51.0.2704.84 (Official Build) m (64-bit) Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 21.0 r0 the generated pdf gradient is implemented using Pattern with "/PatternType 1", i.e. repeating pattern with cell size strictly equal to the size of the div looks like there's some rounding issue, so red line appears because first pattern cell ends earlier than the rectangle, so next cell becomes visible
,
May 18 2017
Is this fixed?
,
May 21 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||
►
Sign in to add a comment |
||
Comment 1 by thestig@chromium.org
, Jun 16 2016Components: Internals>Skia>PDF