We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42eb9a commit d99fc07Copy full SHA for d99fc07
specs/bug6Spec.js
@@ -0,0 +1,23 @@
1
+var test = require('./test');
2
+
3
+describe('bug 6', function() {
4
+ it('Set flex-shrink to 1 by default', function(done) {
5
+ var input = 'div{flex: 1;}';
6
+ var output = 'div{flex: 1 1 0%;}';
7
+ test(input, output, {}, done);
8
+ });
9
+ describe('does nothing', function() {
10
+ it('when not flex declarations', function(done) {
11
+ var css = 'a{display: flex;}';
12
+ test(css, css, {}, done);
13
14
+ it('when flex-shrink is set explicitly to zero', function(done) {
15
+ var css = 'div{flex: 1 0 0%;}';
16
17
18
+ it('when flex-shrink is set explicitly to non-zero value', function(done) {
19
+ var css = 'div{flex: 1 2 0%}';
20
21
22
23
+});
0 commit comments