-
Notifications
You must be signed in to change notification settings - Fork 107
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
calc and minus px values showing as invalid when they are not #47
Comments
Please fix this, I am also being affected by it. |
So was this fixed or ignored and closed by admin |
Fixed, see above PR link. |
It doesn't seem to be fixed, https://jigsaw.w3.org/css-validator/validator?uri=thesqrtminus1.com&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en still gives me 3 errors, all related to calc() |
From https://www.w3.org/TR/2015/CR-css-values-3-20150611/#calc-type-checking If percentages are accepted in the context in which the expression is placed, a <percentage-token> has the type of the value that percentages are relative to; otherwise, a math expression containing I read this as resolved type "percentage" is not allowed, which is the error you see. |
I am surprised nobody else has reported this yet but the validator is showing calc(25% - 4px); and margin-left -4px; values as invalid css when I am assured it is not invalid and it is just the validator that has not been updated in ages. Almost everyone on the planet using a certified wordpress theme the latest ones will be having this problem.
The text was updated successfully, but these errors were encountered: