You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
I get problems when using CSS variables on margin or padding.
:root {
--spacing: 20px;
--size: 300px;
--grey: #888888;
.container {
background: var(--grey-d);
font-size: var(--spacing);
margin: var(--spacing) 0; /* Errors: A non-numeric value encountered */
padding: var(--spacing); /* Error: Box property calculation requires containing block width */
width: var(--size);
I've been informed that dompdf doesn't support css variables, but would it be possible to add this to future revisions?
In the short term however, could error handling be added when variables are encounterd?