Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to disable bug fixes (#53)
I really don't like that `bug6` removes `0%` because it breaks `flex: 1;` in IE (`bug4`). So instead of rewriting `bug6` I added the possibility to disable bugs fixes. Closes #13
- Loading branch information
Showing
3 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
var test = require('./test'); | ||
|
||
describe('plugin options', function() { | ||
it('allows to disable bug fixes', function(done) { | ||
var input = 'div{flex: 1;}'; | ||
var output = 'div{flex: 1;}'; | ||
test(input, output, { bug4: false, bug6: false, bug8a: false }, done); | ||
}); | ||
}); |