Bug 261255 - Linear-gradient with alpha mask not converting to PDF properly
Summary: Linear-gradient with alpha mask not converting to PDF properly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: Safari 16
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-06 22:32 PDT by Paul Bogg
Modified: 2023-09-13 22:33 PDT (History)
4 users (show)

See Also:


Attachments
Contains div with linear-gradient css applied to it (220 bytes, text/html)
2023-09-06 22:32 PDT, Paul Bogg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bogg 2023-09-06 22:32:41 PDT
Created attachment 467580 [details]
Contains div with linear-gradient css applied to it

Linear-gradient css on div does not convert properly to PDF

See attachment index_2.html

1. Open index_2.html in Safari
2. Save as PDF (CTRL-P --> PDF) 
3. Open PDF up - see that it does not look the same as browser
Comment 1 Simon Fraser (smfr) 2023-09-07 13:46:00 PDT
Does this happen if "Print Backgrounds" is checked?
Comment 2 Tim Horton 2023-09-08 09:23:03 PDT
It does. I have a recollection that this is a limitation of CGPDFContext, and am pretty sure we have some very old bugs about it.
Comment 3 Radar WebKit Bug Importer 2023-09-13 22:33:24 PDT
<rdar://problem/115472020>