Skip to content

Commit 71029c1

Browse files
committed
Add test for #94
1 parent b6b8ecb commit 71029c1

3 files changed

Lines changed: 50 additions & 0 deletions

File tree

test/sort-order.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,13 @@ describe('options/sort-order', function() {
141141
assert.equal(comb.processString(input), expected);
142142
});
143143

144+
it('Issue 94. Test 3', function() {
145+
var config = comb.getConfig('csscomb');
146+
147+
var input = readFile('issue-94-3.css');
148+
var expected = readFile('issue-94-3.expected.css');
149+
150+
comb.configure(config);
151+
assert.equal(comb.processString(input), expected);
152+
});
144153
});

test/sort-order/issue-94-3.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.input-view {
2+
position: absolute;
3+
-webkit-appearance: none;
4+
right: -1px;
5+
bottom: -1px;
6+
left: -1px;
7+
8+
border: 1px solid transparent;
9+
10+
top: -1px;
11+
12+
background: -webkit-linear-gradient(#FFF, #FFF);
13+
background: linear-gradient(#FFF, #FFF);
14+
background-clip: padding-box;
15+
background-size: 16px 16px;
16+
box-shadow: 0 1px 0 rgba(255,255,255,0.2), inset 0 1px 1px rgba(0,0,0,0.1);
17+
18+
border-color: rgba(0,0,0,0.27);
19+
border-top-color: rgba(0,0,0,0.38);
20+
border-bottom-color: rgba(0,0,0,0.16);
21+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.input-view
2+
{
3+
position: absolute;
4+
top: -1px;
5+
right: -1px;
6+
bottom: -1px;
7+
left: -1px;
8+
9+
border: 1px solid transparent;
10+
border-color: rgba(0,0,0,.27);
11+
border-top-color: rgba(0,0,0,.38);
12+
border-bottom-color: rgba(0,0,0,.16);
13+
background: -webkit-linear-gradient(#fff, #fff);
14+
background: linear-gradient(#fff, #fff);
15+
background-clip: padding-box;
16+
background-size: 16px 16px;
17+
box-shadow: 0 1px 0 rgba(255,255,255,.2), inset 0 1px 1px rgba(0,0,0,.1);
18+
19+
-webkit-appearance: none;
20+
}

0 commit comments

Comments
 (0)