Linear-gradient with alpha mask not converting to PDF properly
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: paul.bogg, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Steps to reproduce:
CSS with linear-gradient that contain alpha masks does not convert properly to PDF.
- Open attached index_2.html in Firefox
- Save to PDF (e.g. CTRL-P --> Save to PDF)
- Open PDF - see that the PDF image does not match the browser rendering
Actual results:
- Open PDF - see that the PDF image does not match the browser rendering
Expected results:
PDF matches the browser
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
I've reproduced this issue on macOS 13, but not on Windows 10. It doesn't seem to be a regression, same behavior is present way back to Fx 81.0a1.
Updated•2 years ago
|
Comment 3•2 years ago
•
|
||
I opened the generated (on mac) pdf in Firefox, Chrome, Acrobat and Foxit and the result is the same: a red square is rendered.
And I can confirm that the generated pdf on Windows is correct.
So it's very likely not a pdf.js issue but an issue with Quartz.
Updated•2 years ago
|
Description
•