Skip to content

Commit 7dbb1ff

Browse files
committed
Add rem test case
1 parent 54a4a15 commit 7dbb1ff

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

test/fixtures/min-max.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
}
1212

13+
@media screen and (13.8rem < width <= 51.2rem) {
14+
15+
}
16+
1317
@media screen and (6in < width < 9in) {
1418

1519
}
@@ -34,6 +38,10 @@
3438

3539
}
3640

41+
@media screen and (13.8rem <= height < 51.2rem) {
42+
43+
}
44+
3745
@media screen and (6in < height < 9in) {
3846

3947
}

test/fixtures/min-max.output.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
}
1212

13+
@media screen and (min-width: 13.801rem) and (max-width: 51.2rem) {
14+
15+
}
16+
1317
@media screen and (min-width: 6.001in) and (max-width: 8.999in) {
1418

1519
}
@@ -34,6 +38,10 @@
3438

3539
}
3640

41+
@media screen and (min-height: 13.8rem) and (max-height: 51.199000000000005rem) {
42+
43+
}
44+
3745
@media screen and (min-height: 6.001in) and (max-height: 8.999in) {
3846

3947
}

0 commit comments

Comments
 (0)