-
Notifications
You must be signed in to change notification settings - Fork 47
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
border-radius with !important produces wrong output #20
Conversation
…rder-radius values. Add new tests.
The RegExp is based on https://code.google.com/p/cssjanus/source/browse/trunk/cssjanus.py. |
d8eb7ba
to
ed298b9
Compare
@Krinkle Is there anything holding back this pull request from being merged? I also just tested both of the reported issues here at https://cssjanus.github.io/ The first issue The second issue is now fixed as part of v1.1.1 / 2014-11-19 |
It being able to be merged cleanly might help. |
Conflicts: src/cssjanus.js test/cssjanus.test.js
@trevorparscal I've updated this pull request to support the recent changes. |
@ocean90 Thanks! I'll try to get it merged this week. |
@Krinkle Any chance of maybe merging this this week? 😉 |
@ocean90 I made a few minor changes (adjust indentation of @ntwb Done! |
Thanks :) |
Adds support for !importand and slash in border-radius values. See wikimedia/node-cssjanus#20.
Thanks @Krinkle! |
This PR adds a test for
div { border-radius: 0 !important }
where the expected output would be the same. But you getdiv { border-radius: !important 0 }
.Another added test is
div { border-radius: 8px 7px !important }
which should outputdiv { border-radius: 7px 8px !important }
, but you getdiv { border-radius: 7px 8px } !important
.Related: https://core.trac.wordpress.org/ticket/29038