-
Notifications
You must be signed in to change notification settings - Fork 99
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
assignments without a value #60
Comments
I see two ways to proceed with this fix:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if it's a valid syntax according to W3C specifications but I sometimes see assignments like
visibility:
.It seems these kind of assignments make the CSS elements disappear, so they are kind of shortcut for reassigning to default value.
This is not a big problem if you write the code yourself but this causes problems when you run javascript code in an arbitrary website. Current implementation gives a TypeError(you get undefined from array) in
CSSStyleDeclaration.js
file incssText
set method.Is it possible to change the implementation for supporting assigments without a value in the way I described?
Thanks.
The text was updated successfully, but these errors were encountered: