Skip to content

Commit 4a6e453

Browse files
committed
Add support for deprecated device-pixel-ratio media feature
1 parent a097a4b commit 4a6e453

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ function matchQuery(mediaQuery, values) {
5959

6060
case 'aspect-ratio':
6161
case 'device-aspect-ratio':
62+
case /* Deprecated */ 'device-pixel-ratio':
6263
expValue = toDecimal(expValue);
6364
value = toDecimal(value);
6465
break;

0 commit comments

Comments
 (0)