Skip to content

Commit 60caff4

Browse files
authored
Pin createImageBitmap() to the global method only (#3165)
From the description one could arguably add svgimageelement_as_source_image as well, which would change the Baseline low date to 2023-12-11. But it's unlikely that SVG support is needed for most uses of this API. Note that this doesn't match https://caniuse.com/createimagebitmap, we would need partial support and notes to represent everything that caniuse says about this feature.
1 parent efc9cc6 commit 60caff4

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

features/createimagebitmap.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ spec: https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#ima
44
caniuse: createimagebitmap
55
status:
66
compute_from:
7-
- api.createImageBitmap.svgimageelement_as_source_image
8-
- api.createImageBitmap.options_resizeQuality_parameter
9-
- api.createImageBitmap.options_resizeWidth_parameter
10-
- api.createImageBitmap.options_resizeHeight_parameter
7+
- api.createImageBitmap
118
compat_features:
129
- api.createImageBitmap
1310
- api.createImageBitmap.options_colorSpaceConversion_parameter

features/createimagebitmap.yml.dist

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
# Do not edit this file by hand. Edit the source file instead!
33

44
status:
5-
baseline: false
5+
baseline: high
6+
baseline_low_date: 2021-09-20
7+
baseline_high_date: 2024-03-20
68
support:
7-
chrome: "59"
8-
chrome_android: "59"
9+
chrome: "50"
10+
chrome_android: "50"
911
edge: "79"
10-
safari: "17.2"
11-
safari_ios: "17.2"
12+
firefox: "42"
13+
firefox_android: "42"
14+
safari: "15"
15+
safari_ios: "15"
1216
compat_features:
1317
# baseline: high
1418
# baseline_low_date: 2020-01-15
@@ -36,6 +40,7 @@ compat_features:
3640
# safari_ios: "11.3"
3741
- api.ImageBitmapRenderingContext.transferFromImageBitmap
3842

43+
# ⬇️ Same status as overall feature ⬇️
3944
# baseline: high
4045
# baseline_low_date: 2021-09-20
4146
# baseline_high_date: 2024-03-20

0 commit comments

Comments
 (0)