Steps to reproduce
- Create an HTML document with a table.
- Use CSS to set the background color.
Viewing the page in browser shows the background color properly, but on printing the background color disappears.
Comments and activity
This also happens in Chrome as well and based on that I assume this is done intentionally. I would recommend that you file this as a feature request on our uservoice site for edge.
You can force Chrome to print the background color if you select “more options” and then check “Background graphics” feature they have added to the browser.
As a result this item will be closed as By Design. Thanks for your feedback on Edge.
All the best,
The MS Edge Team
- Microsoft Edge Team
Changed Status to “By design”
- The Edge browser doesn’t allow you to turn that option ON, so defaulting to OFF does not afford the same functionality that Chrome does. (You admitted that by pointing to a feature that exists in Chrome that doesn’t in Edge.)
- I can still override that option in CSS with the -webkit-print-color-adjust: exact; property. I can’t find an equivalent property documented for Edge.
You can’t just copy half of a standards-compliant implementation and then claim your implementation is also standards-compliant.