Skip to content

Commit

Permalink
update desc, add compute_from rationale
Browse files Browse the repository at this point in the history
  • Loading branch information
autonome committed Oct 4, 2024
1 parent 04484b9 commit 1f2eccf
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 44 deletions.
6 changes: 0 additions & 6 deletions features/draft/spec/html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,6 @@ compat_features:
- api.History.replaceState
- api.History.scrollRestoration
- api.History.state
- api.ImageData
- api.ImageData.ImageData
- api.ImageData.colorSpace
- api.ImageData.data
- api.ImageData.height
- api.ImageData.width
- api.Location
- api.Location.ancestorOrigins
- api.Location.assign
Expand Down
38 changes: 0 additions & 38 deletions features/draft/spec/html.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -367,22 +367,6 @@ compat_features:
# safari_ios: ≤3.2
- html.global_attributes.contenteditable

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "3.5"
# firefox_android: "4"
# safari: "3.1"
# safari_ios: "2"
- api.ImageData
- api.ImageData.data
- api.ImageData.height
- api.ImageData.width

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
Expand Down Expand Up @@ -1785,19 +1769,6 @@ compat_features:
# safari_ios: "7"
- api.TrackEvent.TrackEvent

# baseline: high
# baseline_low_date: 2016-08-02
# baseline_high_date: 2019-02-02
# support:
# chrome: "36"
# chrome_android: "36"
# edge: "14"
# firefox: "29"
# firefox_android: "29"
# safari: "8"
# safari_ios: "8"
- api.ImageData.ImageData

# baseline: high
# baseline_low_date: 2016-08-02
# baseline_high_date: 2019-02-02
Expand Down Expand Up @@ -3478,15 +3449,6 @@ compat_features:
- api.HTMLVideoElement.playsInline
- html.elements.video.playsinline

# baseline: false
# support:
# chrome: "92"
# chrome_android: "92"
# edge: "92"
# safari: "15.2"
# safari_ios: "15.2"
- api.ImageData.colorSpace

# baseline: false
# support:
# chrome: "99"
Expand Down
15 changes: 15 additions & 0 deletions features/imagedata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ImageData
description: "`ImageData` represents pixel data for a particular area inside a `Canvas` element, in order to manipulate that part of the canvas or draw images to it."
spec: https://html.spec.whatwg.org/multipage/canvas.html#pixel-manipulation
group: canvas
# `.colorspace` is not yet implemented in Firefox but the core feature is
# baseline high for a long time.
status:
compute_from: api.ImageData
compat_features:
- api.ImageData
- api.ImageData.ImageData
- api.ImageData.colorSpace
- api.ImageData.data
- api.ImageData.height
- api.ImageData.width
54 changes: 54 additions & 0 deletions features/imagedata.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Generated from: imagedata.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "3.5"
firefox_android: "4"
safari: "3.1"
safari_ios: "2"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "3.5"
# firefox_android: "4"
# safari: "3.1"
# safari_ios: "2"
- api.ImageData
- api.ImageData.data
- api.ImageData.height
- api.ImageData.width

# baseline: high
# baseline_low_date: 2016-08-02
# baseline_high_date: 2019-02-02
# support:
# chrome: "36"
# chrome_android: "36"
# edge: "14"
# firefox: "29"
# firefox_android: "29"
# safari: "8"
# safari_ios: "8"
- api.ImageData.ImageData

# baseline: false
# support:
# chrome: "92"
# chrome_android: "92"
# edge: "92"
# safari: "15.2"
# safari_ios: "15.2"
- api.ImageData.colorSpace

0 comments on commit 1f2eccf

Please sign in to comment.