-
Notifications
You must be signed in to change notification settings - Fork 151
Smarter handling of CSS shortcodes #74
Comments
There's an option you can use to turn that off. --no-match-shorthand I'm probably going to drop that feature in v2. On Sunday, June 2, 2013, P.J. Onori wrote:
-Zach |
Cool! Did I just miss this somewhere in the documentation or issue log? Apologies if so. |
It's in --help, but not really anywhere else On Sunday, June 2, 2013, P.J. Onori wrote:
-Zach |
I mean the shorthand matching altogether. Not the flag to disable it. |
So has this been dropped? With --match-shorthand and --no-match-shorthand I can't get it to tell me that: border-top: solid 1px #999; are the same. |
@robme Ah that's a bug. csscss shouldn't care about the order but I believe it does. For future reference: http://stackoverflow.com/a/4077517 |
Thanks for the link. I usually always use "width style color" but the code I'm trying to refactor doesn't. |
I'm using a lot of CSS shortcodes and it doesn't seem right that something like:
margin: 15px 0;
andmargin:30px 0;
would be seen as having duplicates formargin-left
andmargin-right
.Thoughts?
The text was updated successfully, but these errors were encountered: