Skip to content

Commit 816fcb8

Browse files
committed
Add test case for #153
1 parent 80b3b13 commit 816fcb8

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

test/options/vendor-prefix-align.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ describe('options/vendor-prefix-align', function() {
2020
this.shouldBeEqual('both.css', 'both.expected.css');
2121
});
2222

23+
it('Should correctly work when value and property name are the same', function() {
24+
this.shouldBeEqual('same-name.css', 'same-name.expected.css');
25+
});
26+
2327
it('Should always correctly align prefixes', function() {
2428
this.shouldBeEqual('complex.css', 'complex.expected.css');
2529
});
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.test
2+
{
3+
-webkit-transition: -webkit-transform .6s;
4+
transition: transform .6s;
5+
-webkit-transform: scale(.6, .6);
6+
transform: scale(.6, .6);
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.test
2+
{
3+
-webkit-transition: -webkit-transform .6s;
4+
transition: transform .6s;
5+
-webkit-transform: scale(.6, .6);
6+
transform: scale(.6, .6);
7+
}

0 commit comments

Comments
 (0)