We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In all methods which take a property parameter, there is a very early step says:
property
Let property be property converted to ASCII lowercase.
However, name of custom properties is case-sensitive, so this step would mess up custom properties.
In addition to that, some of the methods also have:
If property is not a case-sensitive match for a supported CSS property, terminate this algorithm.
This would make the method not usable for custom properties.
I think the solution is to recognize custom properties in an early step, and only apply the above steps to non-custom properties.
The text was updated successfully, but these errors were encountered:
Looks like it is a dup of #580.
Sorry, something went wrong.
[cssom] Handle custom properties separately.
7083116
Fixes #630.
Successfully merging a pull request may close this issue.
In all methods which take a
property
parameter, there is a very early step says:However, name of custom properties is case-sensitive, so this step would mess up custom properties.
In addition to that, some of the methods also have:
This would make the method not usable for custom properties.
I think the solution is to recognize custom properties in an early step, and only apply the above steps to non-custom properties.
The text was updated successfully, but these errors were encountered: