Skip to content

Commit 8d5f08a

Browse files
authored
Realign createimagebitmap with caniuse (#3173)
1 parent 39931ac commit 8d5f08a

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

features/createimagebitmap.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: createImageBitmap
22
description: The `createImageBitmap()` global method creates an `ImageBitmap` object from a source such as an image, SVG, blob, or canvas. An `ImageBitmap` object represents pixel data that can be drawn to a canvas with lower latency than other types, such as `ImageData`.
33
spec: https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#imagebitmap
4-
# We broke from caniuse's definition of this feature in
5-
# https://github.com/web-platform-dx/web-features/pull/3165 We could reinstate
6-
# this link if caniuse changes its definition or if we develop a way to convey
7-
# partially supported information
8-
# caniuse: createimagebitmap
4+
caniuse: createimagebitmap
95
status:
106
compute_from:
117
- api.createImageBitmap
8+
- api.createImageBitmap.options_resizeWidth_parameter
9+
- api.createImageBitmap.options_resizeHeight_parameter
10+
- api.createImageBitmap.options_premultiplyAlpha_parameter
11+
- api.createImageBitmap.svgimageelement_as_source_image
1212
compat_features:
1313
- api.createImageBitmap
1414
- api.createImageBitmap.options_colorSpaceConversion_parameter

features/createimagebitmap.yml.dist

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

44
status:
5-
baseline: high
6-
baseline_low_date: 2021-09-20
7-
baseline_high_date: 2024-03-20
5+
baseline: low
6+
baseline_low_date: 2023-12-11
87
support:
9-
chrome: "50"
10-
chrome_android: "50"
8+
chrome: "59"
9+
chrome_android: "59"
1110
edge: "79"
12-
firefox: "42"
13-
firefox_android: "42"
14-
safari: "15"
15-
safari_ios: "15"
11+
firefox: "98"
12+
firefox_android: "98"
13+
safari: "17.2"
14+
safari_ios: "17.2"
1615
compat_features:
17-
# ⬇️ Same status as overall feature ⬇️
1816
# baseline: high
1917
# baseline_low_date: 2021-09-20
2018
# baseline_high_date: 2024-03-20

0 commit comments

Comments
 (0)