Skip to content

Commit f41cd0d

Browse files
committed
Use BCD mediatypes data in existing image format features
1 parent 2d4ac9f commit f41cd0d

File tree

6 files changed

+84
-32
lines changed

6 files changed

+84
-32
lines changed

features/avif.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ name: AVIF
22
description: AVIF (AV1 Image File Format) is an image format based on the AV1 video format.
33
spec: https://aomediacodec.github.io/av1-avif/
44
caniuse: avif
5-
# TODO: Add notes about animated AVIF coming later in Safari (but don't mark this as partially supported)
6-
status:
7-
baseline: low
8-
baseline_low_date: 2024-01-26
9-
support:
10-
chrome: "85"
11-
chrome_android: "85"
12-
edge: "121"
13-
firefox: "93"
14-
firefox_android: "93"
15-
safari: "16"
16-
safari_ios: "16"
5+
compat_features:
6+
- mediatypes.image.avif
7+
- mediatypes.image.avif.animation

features/avif.yml.dist

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
11
# Generated from: avif.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

4-
{}
4+
compat_features:
5+
# baseline: low
6+
# baseline_low_date: 2024-01-25
7+
# support:
8+
# chrome: "85"
9+
# chrome_android: "85"
10+
# edge: "121"
11+
# firefox: "93"
12+
# firefox_android: "93"
13+
# safari: "16.4"
14+
# safari_ios: "16.1"
15+
- mediatypes.image.avif
16+
17+
# baseline: low
18+
# baseline_low_date: 2024-01-25
19+
# support:
20+
# chrome: "85"
21+
# chrome_android: "85"
22+
# edge: "121"
23+
# firefox: "113"
24+
# firefox_android: "113"
25+
# safari: "16.4"
26+
# safari_ios: "16.1"
27+
- mediatypes.image.avif.animation

features/jpegxl.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@ name: JPEG XL
22
description: The JPEG XL image format is a raster graphics file format that supports animation, alpha transparency, and lossy as well as lossless compression.
33
spec: https://www.iso.org/standard/85253.html
44
caniuse: jpegxl
5-
status:
6-
baseline: false
7-
support:
8-
safari: "17"
9-
safari_ios: "17"
5+
compat_features:
6+
- mediatypes.image.jxl

features/jpegxl.yml.dist

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# Generated from: jpegxl.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

4-
{}
4+
status:
5+
baseline: false
6+
support:
7+
safari: "17"
8+
safari_ios: "17"
9+
compat_features:
10+
- mediatypes.image.jxl

features/webp.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@ name: WebP
22
description: The WebP image format is a raster graphics file format that supports animation, alpha transparency, and lossy as well as lossless compression.
33
spec: https://www.rfc-editor.org/rfc/rfc9649
44
caniuse: webp
5-
# TODO: Add notes about animated WebP coming later in Chrome (but don't mark this as partially supported)
6-
status:
7-
baseline: high
8-
baseline_low_date: 2020-09-16
9-
support:
10-
chrome: "9"
11-
chrome_android: "18"
12-
edge: "18"
13-
firefox: "65"
14-
firefox_android: "65"
15-
safari: "14"
16-
safari_ios: "14"
5+
compat_features:
6+
- mediatypes.image.webp
7+
- mediatypes.image.webp.alpha
8+
- mediatypes.image.webp.animation
9+
- mediatypes.image.webp.lossless
10+
- mediatypes.image.webp.lossy

features/webp.yml.dist

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,45 @@
11
# Generated from: webp.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

4-
{}
4+
status:
5+
baseline: high
6+
baseline_low_date: 2020-09-16
7+
baseline_high_date: 2023-03-16
8+
support:
9+
chrome: "32"
10+
chrome_android: "32"
11+
edge: "79"
12+
firefox: "65"
13+
firefox_android: "65"
14+
safari: "14"
15+
safari_ios: "14"
16+
compat_features:
17+
# baseline: high
18+
# baseline_low_date: 2020-09-16
19+
# baseline_high_date: 2023-03-16
20+
# support:
21+
# chrome: "23"
22+
# chrome_android: "25"
23+
# edge: "79"
24+
# firefox: "65"
25+
# firefox_android: "65"
26+
# safari: "14"
27+
# safari_ios: "14"
28+
- mediatypes.image.webp
29+
- mediatypes.image.webp.alpha
30+
- mediatypes.image.webp.lossless
31+
- mediatypes.image.webp.lossy
32+
33+
# ⬇️ Same status as overall feature ⬇️
34+
# baseline: high
35+
# baseline_low_date: 2020-09-16
36+
# baseline_high_date: 2023-03-16
37+
# support:
38+
# chrome: "32"
39+
# chrome_android: "32"
40+
# edge: "79"
41+
# firefox: "65"
42+
# firefox_android: "65"
43+
# safari: "14"
44+
# safari_ios: "14"
45+
- mediatypes.image.webp.animation

0 commit comments

Comments
 (0)