Created
February 2, 2014 10:11
-
-
Save GoalSmashers/8765860 to your computer and use it in GitHub Desktop.
clean css patch 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 64f380a62e040e33668a378dffb83f6dbb68982a | |
| Author: Jakub Pawlowicz <contact@jakubpawlowicz.com> | |
| Date: Sun Jan 19 17:03:19 2014 +0000 | |
| Fixes calc test. | |
| diff --git a/test/unit-test.js b/test/unit-test.js | |
| index 38ce444..ba614d2 100644 | |
| --- a/test/unit-test.js | |
| +++ b/test/unit-test.js | |
| @@ -143,8 +143,8 @@ vows.describe('clean-units').addBatch({ | |
| 'a{width:-moz-calc(100% - 1em);width:calc(100% - 1em)}' | |
| ], | |
| 'not inside calc method #2': [ | |
| - 'div{margin:-moz-calc(50% + 15px) -moz-calc(50% + 15px);margin:calc(50% + .5rem) calc(50% + .5rem)}', | |
| - 'div{margin:-moz-calc(50% + 15px) -moz-calc(50% + 15px);margin:calc(50% + .5rem) calc(50% + .5rem)}' | |
| + 'div{margin:-moz-calc(50% + 15px);margin:calc(50% + .5rem)}', | |
| + 'div{margin:-moz-calc(50% + 15px);margin:calc(50% + .5rem)}' | |
| ], | |
| 'not inside calc method with more parentheses': [ | |
| 'div{height:-moz-calc((10% + 12px)/2 + 10em)}', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment