-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Method supportedValue should support !important property. #214
Comments
Have you figured out why this happens? |
A values ends with Using |
@LvChengbin @AleshaOleg I think nothing stops us from using el.style.setProperty instead of el.style.property! A PR with this would be appreciated along with this use case as a test |
I sent a pull request but failed to pass the test and got error message:
|
I added these two test cases for
supportedValue
method, and got the output as follow:This issue makes using
1px solid red !important
andsolid 1px red !important
has different result injss
. To support!important
property or at least to provide same result with these two type of format.I can send a pull request for this if you think it makes sense.
The text was updated successfully, but these errors were encountered: