Skip to content
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

xcatliu.github.io - Color mismatched in print preview #122162

Open
xcatliu opened this issue May 12, 2023 — with webcompat-app · 3 comments
Open

xcatliu.github.io - Color mismatched in print preview #122162

xcatliu opened this issue May 12, 2023 — with webcompat-app · 3 comments
Labels
browser-firefox diagnosis-priority-p3 engine-gecko The browser uses the Gecko rendering engine os-mac Issues only happening on macOS. priority-normal severity-important A non-core broken piece of functionality, not behaving the way you would expect. status-needsinfo-ksy36 ping @ksy36 type-printing Issues with printing and related functionality type-svg

Comments

@xcatliu
Copy link

xcatliu commented May 12, 2023

URL: https://xcatliu.github.io/firefox-svg-print-bug/

Browser / Version: Firefox 112.0
Operating System: Mac OS X 10.15
Tested Another Browser: Yes Chrome

Problem type: Design is broken
Description: Items not fully visible
Steps to Reproduce:
webpage: https://xcatliu.github.io/firefox-svg-print-bug/
source code: https://github.com/xcatliu/firefox-svg-print-bug/

I have a simple svg with gray background in the page, however, during printing, the area that was supposed to have a gray background turned into an incorrect black background. In contrast, the yellow background appears as normal gray in print view.

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone May 12, 2023
@webcompat-bot webcompat-bot added browser-firefox priority-important engine-gecko The browser uses the Gecko rendering engine labels May 12, 2023
@softvision-raul-bucata softvision-raul-bucata added the os-mac Issues only happening on macOS. label May 12, 2023
@xcatliu
Copy link
Author

xcatliu commented May 12, 2023

When using a color printer (or saving as a PDF), the same problem exists - yellow backgrounds display normally, but gray backgrounds turn into pure black.

View the screenshotScreenshot

@sv-calin
Copy link

Thank you for reporting this issue, I was able to reproduce it.

image

Tested on:
• Browser / Version: Firefox Nightly 115.0a1 (2023-05-11) / Firefox Release 113 / Chrome Version 113.0.5672.92
• Operating System: Mac OS X 10.15

Notes:

  1. Reproducible on both Firefox Release and Nightly
  2. Not reproducible on Chrome

Moving to Needsdiagnosis.

[qa_19/2023]

@sv-calin sv-calin changed the title xcatliu.github.io - design is broken xcatliu.github.io - Color mismatched in print preview May 12, 2023
@sv-calin sv-calin added priority-normal severity-important A non-core broken piece of functionality, not behaving the way you would expect. type-svg type-printing Issues with printing and related functionality and removed priority-important labels May 12, 2023
@sv-calin sv-calin modified the milestones: needstriage, needsdiagnosis May 12, 2023
@IshmaZX82
Copy link

IshmaZX82 commented Apr 3, 2024

The same issue.

Browser / Version: Firefox 124.0
Operating System: Win10
Tested Another Browser: Yes Chrome

Steps to Reproduce:
test.svg.txt
The problem appears if only the fill is specified for the rect, but if you add a stroke, there is no problem.

Preview:
preview

Print preview:
print

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox diagnosis-priority-p3 engine-gecko The browser uses the Gecko rendering engine os-mac Issues only happening on macOS. priority-normal severity-important A non-core broken piece of functionality, not behaving the way you would expect. status-needsinfo-ksy36 ping @ksy36 type-printing Issues with printing and related functionality type-svg
Projects
None yet
Development

No branches or pull requests

6 participants