-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Cannot position background images in v61 #2099
Comments
Hi! We’ve tried to render your example with an image of 100×100px, a page size of 100×100px and a margin of -10px, and it gives the same result with v60.2 and main. Maybe you use a rule like |
If your code is more something like body { background: var(--color-page) } then this issue comes from #1219 that has been solved in v61. In previous versions, this was not supported, and the color wasn’t painted on the body. Now that it’s supported, the color is painted and hides the background set on the page. If that’s the case, it’s not a bug, it was a bug that’s now fixed! You can use something like @media print {
body {
background: none;
}
} to avoid the problem. |
Since v61, background images do not work anymore on the @page rule. Specifically, they appear to be mis-positioned.
This used to work in v60:
In v61 it's not possible to get the background to align on the top left and cover the whole page.
The text was updated successfully, but these errors were encountered: