Skip to content

Commit ad63530

Browse files
authored
Add resolution media queries (#1798)
1 parent af011ff commit ad63530

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

features/resolution.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: resolution media query
2+
description: The `resolution` CSS media query sets styles based on the pixel density, or how many pixels a device uses to display a single CSS pixel.
3+
spec: https://drafts.csswg.org/mediaqueries-5/#resolution
4+
caniuse: css-media-resolution
5+
# group: media-queries
6+
compat_features:
7+
- css.at-rules.media.resolution
8+
- css.types.resolution
9+
- css.types.resolution.dpcm
10+
- css.types.resolution.dpi
11+
- css.types.resolution.dppx
12+
- css.types.resolution.x

features/resolution.yml.dist

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Generated from: resolution.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: low
6+
baseline_low_date: 2022-09-12
7+
support:
8+
chrome: "68"
9+
chrome_android: "68"
10+
edge: "79"
11+
firefox: "62"
12+
firefox_android: "62"
13+
safari: "16"
14+
safari_ios: "16"
15+
compat_features:
16+
# baseline: low
17+
# baseline_low_date: 2022-09-12
18+
# support:
19+
# chrome: "29"
20+
# chrome_android: "29"
21+
# edge: "12"
22+
# firefox: "8"
23+
# firefox_android: "8"
24+
# safari: "16"
25+
# safari_ios: "16"
26+
- css.at-rules.media.resolution
27+
- css.types.resolution
28+
- css.types.resolution.dpcm
29+
- css.types.resolution.dpi
30+
31+
# baseline: low
32+
# baseline_low_date: 2022-09-12
33+
# support:
34+
# chrome: "29"
35+
# chrome_android: "29"
36+
# edge: "12"
37+
# firefox: "16"
38+
# firefox_android: "16"
39+
# safari: "16"
40+
# safari_ios: "16"
41+
- css.types.resolution.dppx
42+
43+
# ⬇️ Same status as overall feature ⬇️
44+
# baseline: low
45+
# baseline_low_date: 2022-09-12
46+
# support:
47+
# chrome: "68"
48+
# chrome_android: "68"
49+
# edge: "79"
50+
# firefox: "62"
51+
# firefox_android: "62"
52+
# safari: "16"
53+
# safari_ios: "16"
54+
- css.types.resolution.x

0 commit comments

Comments
 (0)