-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Background is pink when using background: repeating-linear-gradient #12288
Comments
The issue has been labeled as confirmed by the automatic analyser. |
@muster-mark could you please provide a PDF that you get? |
Do you get a different result if you print using the regular print dialog in Chrome and choose save to PDF? |
@OrKoN @Lightning00Blade printed_from_chrome.pdf Lighting00Blade, you are correct that it does depend on the viewer. I was using Firefox to view the pdfs. It displays correctly in Chrome, as you note, and also Adobe Acrobat reader. Though OrKoN, yes I do get a different result when printing from chrome, as that pdf displays correctly in Firefox. I am not sure we can we be sure the viewers are to blame here, since the issue is apparent in 2 separate viewers (Firefox and vscode). Perhaps the pdf itself is in fact the issue, but chrome and adobe acrobat are more tolerant of whatever that issue is. |
So if it is shown correctly in Chrome and Adobe Acrobat reader, I believe this is an issue with the specific PDF viewer. |
@OrKoN FWIW Safari also seems to have an issue with the puppeteer file. Although it displays it correctly, it takes an astonishing 35 seconds to render the table, whereas the pdf created by printing in chrome renders almost immediately. That's despite the table being a lot smaller in the puppeteer-generated file (I realise now I did not print the same exact thing in the 2 pdfs). |
@OrKoN Also, Apple Preview renders the chrome generated version instantantaneously, but takes about 5s for the puppeteer one. |
@muster-mark Puppeteer's one are also generated by Chrome as Puppeteer does not generate PDFs on its own. Have you tried |
@OrKoN Yes I merely meant the one created by printing directly in Chrome. tagged: false produces the same output. But actually in Firefox it does look like this known issue: mozilla/pdf.js#5046 |
Minimal, reproducible example
Error string
nO eRrOR
Bug behavior
Background
I want to have a stripy background, so tried to use the css property intended for this.
Expectation
I expected to get a stripy background.
Reality
I got a pink background.
Puppeteer configuration file (if used)
No response
Puppeteer version
22.6.5
Node version
18.20.2
Package manager
npm
Package manager version
10.5.0
Operating system
Linux
The text was updated successfully, but these errors were encountered: